FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 01-08-2011, 10:48 AM
william drescher
 
Default Where is

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


Thanks all.

bill


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-08-2011, 11:22 AM
Avi Greenbury
 
Default Where is

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.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 01-08-2011, 11:25 AM
Chris G
 
Default Where is

On Sat, Jan 08, 2011 at 06:48:06AM -0500, 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.
>
Do you mean what starts the mysql daemon process(es)? If so then it's
the file in /etc/init.d. Any executable found in /etc/init.d is a
startup file run at system boot time (simplification, but near enough).

You'll find /etc/init.d/mysql which takes parameters start, stop and
restart (plus any other special ones for the specific daemon) and if you
look in /etc/init.d/mysql you'll be able to see what "/etc/init.d/mysql
start" does and, thence, where the configuration is. Alternatively look
at the man page for mysqld.


If you didn't mean this please explain further! :-)

--
Chris Green

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 05:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org