471,337 Members | 983 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Can't get init_connect='AUTOCOMMIT=0' to work

Hi all,

I've got MySQL 4.1.3 installed on RH 7.3... everything's fine so far
except for getting the init_connect string to work.

I followed the instructions on

and added the below line to my '/etc/my.cnf' file under [mysqld]:
init_connect='SET AUTOCOMMIT=0'

When I restart the server and start mysql, I can see that the
init_connect was read:
mysql> select @@init_connect;
| @@init_connect |

However, the Autocommit variable is still 1!
mysql> select @@AUTOCOMMIT;
| 1|

Anyone seen this before or know what's wrong??

Thx in advance,
Jul 20 '05 #1
0 2360

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Scott Mills | last post: by
8 posts views Thread by Scorpio | last post: by
4 posts views Thread by Jm lists | last post: by
reply views Thread by Allen | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.