List:General Discussion« Previous MessageNext Message »
From:Ashley M. Kirchner Date:March 3 2007 8:09pm
Subject:Re: [MySQL] Re: Can't Bind to Port
View as plain text  
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:ashley@stripped>   .   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. 


Thread
Can't Bind to PortDrew Jenkins2 Mar
  • Re: Can't Bind to PortBorokov Smith2 Mar
Re: Can't Bind to PortDrew Jenkins2 Mar
  • Re: Can't Bind to PortChristophe Gregoir3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
  • Re: Can't Bind to PortTommy Nordgren3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
  • Re: Can't Bind to PortTommy Nordgren3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
  • Re: Can't Bind to PortTommy Nordgren3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
  • Re: [MySQL] Re: Can't Bind to PortAshley M. Kirchner3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
Re: Can't Bind to PortDrew Jenkins3 Mar
Re: [MySQL] Re: Can't Bind to PortDrew Jenkins3 Mar