R: [Serusers] Re: starting ser

Andrey Kouprianov andrey.kouprianov at gmail.com
Fri Mar 17 11:09:14 CET 2006


'/var/lib/mysql/mysql.sock' means that your MySQL server is not
running (mysql.sock is the socket, through which MySQL server listens
for incoming client connections) + your output from "ps -ax | grep
mysql" clearly indicates that your MySQL server is not running at all.
:)

Did you start it? Use "mysqld_safe &" to fire it up and check with
ps... command again. The output from that command should be like this:

# ps - ax | grep mysql
2087  p0- I      0:00.02 /bin/sh /usr/local/bin/mysqld_safe
2099  p0- S     6:50.96 /usr/local/libexec/mysqld --basedir=/usr/local --data
#

"ls -l /var/db" might not work because you are using different OS and
the directory's location may differ (im using FreeBSD 5.4) OR because
you still have not created mysql primary database with
"mysql_install_db" command.


On 3/17/06, D'Addelfio Davide <Davide.D'Addelfio at italtel.it> wrote:
> These are the answer I have:
>
> Is your MySQL server running (try using mysql client to connect to
> database or use "ps -ax | grep mysql" to check)?
>
> 1507 pts/1      S       0:00 grep mysql
>
> ls -l /var/db/
> totale 0
>
> Did you create ser database with "ser_mysql.sh create" command?
>
> Mysql password for root
> Creating database ser...
> ERROR 2002 (HY000): Can't connect to local MySql server through socket '/var/lib/mysql/mysql.sock' (2)
>
> Any thought ?
> thanks
>




More information about the sr-users mailing list