Installing MySQL 5.5 manually on Ubuntu 10.04 server, errors about "/tmp/mysql.sock"

Posted by black sensei on Super User See other posts from Super User or by black sensei
Published on 2011-11-30T09:13:06Z Indexed on 2011/11/30 10:05 UTC
Read the original article Hit count: 464

Filed under:
|
|

I've set up an Ubuntu server and wanted to install MySQL 5.5. I've been following these MySQL documentation steps.

I have libaio dev installed. Everything went fine until I ran

bin/mysqld_safe --user=mysql &

It runs into an issue and never returns to the shell. The output of mysqld_safe is logging to /usr/local/mysql/data/host_name.err.

When I checked that file, it was complaining about /tmp/mysql.sock. I can unfortunately describe just parts of the error, since before I started right now it deleted all the files I've started installing back then by mistake.

Should I change the socket to /var/run/mysqld/mysqld.socket after copying the .cnf file to /etc?

I've also checked the /var/run/mysqld directory and there is no mysqld.socket. How do I proceed?

Thanks for reading this and helping out

© Super User or respective owner

Related posts about ubuntu

Related posts about installation