Drew Jenkins wrote:
server312# /usr/local/bin/mysqld_safe &
[1] 801
server312# Starting mysqld daemon with databases from /var/db/mysql

server312# ps wax | grep mysqld
  801  p0  S      0:00.01 /bin/sh /usr/local/bin/mysqld_safe
  849  p0  S      0:00.16 /usr/local/libexec/mysqld --basedir=/usr/local 
--datadir=/var/db/mysql --user=mysql --pid-file=/var/db/my
   This indicates that you did indeed start the daemon.


server312# /usr/local/libexec/mysqld -uroot -hlocalhost 
--max_allowed_packet=999M
So then why are you trying to start it again? Of course it's going to tell you there's a daemon already running. You started it with the mysqld_safe command.

Note, mysqld is the daemon, whereas mysql is the client. If all you're trying to do it connect to the daemon, you need to run mysql, NOT mysqld.

--
H | It's not a bug - it's an undocumented feature.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
 IT Director / SysAdmin / Websmith             .     800.441.3873 x130
 Photo Craft Imaging                       .     3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to