I have found the sample configuration files provided with mysql 5.0, but I am not able to save them, when I edit them. I also tried saving using a different file name but I received an error by windows saying that I don’t have permission to save file in that location (I am an administrator).
I need to edit the configuration file so I am able to save more data. I really can’t figure out how to do it and have been struck on this problem since hours. anyone who can figure out whats going on?
to edit
my.cnffile in linux opensuse 11.3first of all open terminal window in su mode
then go to the directory /etc
then open
my.cnffile in any of the text editor(kwrite);now just insert the following two parameters after the line [mysqld]
save and exit;
restart mysql;
now u can set your session time out by using the following:
it is persistent