Hi,

2007/5/23, David R. Stites <[EMAIL PROTECTED]>:
>
> pal-174-168:/sw/var root# ls -l
> drwx------    4 mysql     mysql  136 Feb  9 21:33 mysql
>
> pal-174-168:/sw/var dstites$ sudo mysqld_safe &
> [1] 1868
>
> pal-174-168:/sw/var dstites$ mysqladmin create test
> mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock'
> (2)'
> Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
>
> I double checked that all the permissions were set correctly to 700.  At
> first, it looked like mysqld started fine when I used sudo, however, when I
> tried to create a test database, it looked like it was never started in the
> first place.
>
> I will continue to look on the web site but if you have any quicker ideas,
> let me know.

Ah... Maybe "sudo -l && sudo mysqld_safe &" instead of just executing
"sudo mysqld_safe &"?
Perhaps you were being prompted your password by the background job.

-- 
ASARI Takashi @ Todai Fink Team
http://fink.sodan.ecc.u-tokyo.ac.jp/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to