Click to See Complete Forum and Search --> : mysql is installed, but get error when using mysqltest


snowtion
05-27-2003, 11:21 PM
When I execute /usr/bin/mysqltest, I get this message:

/usr/bin/mysqltest: Failed in mysql_real_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

Can someone please tell me what I should do to fix this and get mysql running smoothly?

restless
05-28-2003, 05:59 AM
you installed it, but mysql doesn't start automaticly...

try:

#safe_mysqld --user=mysql &

and then run the test again. you can also take a look at the status too if it's running...

don't know if you need to be in a certain path or not but you need to run:

mysqladmin
there you can see some options...