I am running debian testing/unstable w/ exim 3.xx. I am getting frozen messages in the mailq. Eximon gives the following error: -------------------- Unknown local part "sharukh" in domain "pavri.net" -------------------- I have the following line in /etc/email-addresses
spavri: sharukh@pavri.net
what am I doing wrong ?
sharukh
Hi all ,
I am trying to get transactions support in MySQL , I am trying to get this so that we can use the rollback feature .
here are some technical details that may help u help me ,
We are using MySql version 4 (which supports Innodb )
O/s : Windows 2000 professional ( Dont kill me for that , i know this is linux forum , but i thought someone might still know )
base dir : C:/mysql data dir : C:/mysql/data
I am using this code in my.ini file ------------------------------------------------- [mysqld] innodb_data_home_dir = C://mysql//data ( have tried with single forward slash to , somewhere google said use 2 slashes so tried that too) innodb_data_file_path = ibdata1:10M:autoextend -----------------------------------------------
the error file -------------------------------------------- Mysql error file MySql: ready for connections Cannot initialize InnoDB as 'innodb_data_file_path' is not set. If you do not want to use transactional InnoDB tables, add a line skip-innodb to the [mysqld] section of init parameters in your my.cnf or my.ini. If you want to use InnoDB tables, add to the [mysqld] section, for example, innodb_data_file_path = ibdata1:10M:autoextend But to get good performance you should adjust for your hardware the InnoDB startup options listed in section 2 at http://www.innodb.com/ibman.html 030504 19:21:00 MySql: Normal shutdown 030504 19:21:00 MySql: Shutdown Complete
Thanks in advance for all your help ,
Nikhil Bhaskaran
The 6m Group - Mumbai http://www.the6mgroup.com
For cheapest and best webhosting http://webhosting.the6mgroup.com
Mysql 4.X does not needs any setting in the my.ini to initlize DB leave it all empty. (Provided you did just Next next and Next when installing and installed it to c:\mysql)
What you need to do is when you create Tables just set the type=InnoDB to have transcation enabled
Regards
Nikhil bhaskaran wrote:
O/s : Windows 2000 professional ( Dont kill me for that , i know this is linux forum , but i thought someone might still know )
I am using this code in my.ini file
[mysqld] innodb_data_home_dir = C://mysql//data ( have tried with single forward slash to , somewhere google said use 2 slashes so tried that too) innodb_data_file_path = ibdata1:10M:autoextend
Thanks for the suggestion, but that is what i did intially, i installed mysql 4 without amking any changes , next , next next as u said , post installation when i gave a command to create a table as type innodb , it created a table without giving any error , but then when we checked the type of talbe what is created it was still myisam , that is when we started searching google and found recommendations to add all that to my.ini , but it still didnt work thanks again for ur help , but my issue remains
Nikhil Bhaskaran The 6m Group - Mumbai http://www.the6mgroup.com
For cheapest and best webhosting http://webhosting.the6mgroup.com
Mysql 4.X does not needs any setting in the my.ini to initlize DB leave it all empty. (Provided you did just Next next and Next when installing and installed it to c:\mysql)
What you need to do is when you create Tables just set the type=InnoDB to have transcation enabled
That's funny. I have been using Mysql in Linux/BSD/Windows for almost 1 yr now and never encountered this. What version of Mysql are you using.
few correction from your previous post leave the innodb_data_home_dir as innodb_data_home_dir = and in next line add innodb_data_file_path = ibdata1:10M:autoextend
Here is my.ini from c:\windows\my.ini from one of my Windows server
-------------------------------------my.ini-------------------- [mysqld-nt] basedir=c:/mysql/ datadir=c:/mysql/data set-variable = log_bin=On server-id=1 innodb_data_home_dir = innodb_data_file_path = ibdata/ibdata1:100M:autoextend:max:2000M
[mysqld] basedir=c:/mysql/ datadir=c:/mysql/data set-variable = log_bin=On server-id=1 innodb_data_home_dir = innodb_data_file_path = ibdata/ibdata1:100M:autoextend:max:2000M
[WinMySQLAdmin] Server=C:/mysql/bin/mysqld-nt.exe
-------------------------------------my.ini--------------------
If this does not works either file <filename.err> in c:\mysql\data (filename is the name of the NetBIOS name of the system)
Dont confuse if you still see folder name as database name and has MYD and MYI in data folder. This is perfectly normal
Do some simple test such as issuing a begin; <Some insert statement>; and then Rollback; instead of commit. The insert would have failed
And in event if any body has troubles due to Windows discussion in the list reply me directly.
Regards
Nikhil bhaskaran wrote:
Thanks for the suggestion, but that is what i did intially, i installed mysql 4 without amking any changes , next , next next as u said , post installation when i gave a command to create a table as type innodb , it created a table without giving any error , but then when we checked the type of talbe what is created it was still myisam , that is when we started searching google and found recommendations to add all that to my.ini , but it still didnt work thanks again for ur help , but my issue remains
hii S.K.R
that is resolved , thanks for all your help, the problem was earlier when i installed mysql 4 we had 3.23 on it and the new installation didnot modify the existing my.ini now i just deleted the my.ini and did a fresh install of mysql 4 and it worked , i made no changes to the my.ini created by the new mysql
so u were right in ur first mail it requires absolutely no changes ..... thanks again for all ur help
Nikhil bhaskaran
The 6m Group - Mumbai http://www.the6mgroup.com
For cheapest and best webhosting http://webhosting.the6mgroup.com