on 11/6/02 5:09 AM, Oscar Erlandsson at [EMAIL PROTECTED] wrote:

> Probably, mysqld is not running. Try
> 
> ps -aux | grep mysqld
> 

I get this:

[Mathew-Rices-Computer:~] mat% ps -aux | grep mysqld
mat    430   0.0  0.1     1416    308 std  S+    8:12AM   0:00.01 grep
mysqld

Looks like it's running, no?


> to check. If not, try
> 
> /sw/bin/safe_mysqld  &
> 
> to start the daemon. If you want it to start at every bootup, do
> 
> sudo daemonic enable mysql

  ^^^^^   Did this too, and restarted.

> 
> provided you have daemonic installed (I think it's a depend of mysql,
> so you should). Once you see /sw/sbin/mysqld in the output of ps -aux,
> the socket should be there and the command you had trouble with should
> work.

Still get the same error:

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!


One last thing, in the command 'mysqladmin -u root password new_password'
If you do not have a mysql root password already what should you substitute
for "password". I tried my admin password. Is that correct? I apologize for
the simple questions, but this is all pretty new to me.

I also tried 'mysqladmin -u root -p' thinking it would just ask for a
password. All I get is a listing of options (switches) for the mysqladmin
command.

I'm stumped.


Thanks for listening,

-Mat



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to