Where is

Avi Greenbury avismailinglistaccount at googlemail.com
Sat Jan 8 12:22:17 UTC 2011


william drescher wrote:
> I have unix experience and am just learning linux.
> Where is the entry that starts mySQL ?  I need to edit it to 
> start binlogging.

The MySQL config file is at

/etc/mysql/my.cnf

And you can start, stop or restart it by using the appropriate argument
on its init script, so:

/etc/init.d/mysql restart

to restart it. Newer Ubuntus use upstart which provides a different way
of restarting mysql, but I don't have one of those handy at the minute
to refer to and a quick google doesn't return much. I've a feeling it
is the RedHatish

service mysql restart

that you're used to, but I'm not sure. Either way, there are dummy
init scripts in place so the init.d way will still work.

-- 
Avi.

-- 
Avi.




More information about the ubuntu-users mailing list