Linux Server Type: Restoring MySQL SimLink.
February 16th, 2010
If you’re unable to restart mysqld and troubleshooting the cause: if u log into SSH and go to /tmp you may see that there is no simlink
To create a simlink you can do the following:
cd /var/lib/mysql/
touch mysql.sock
chmod 1777 mysql.sock
chown mysql.mysql mysql.sock
Create a symlink for the sock file :-
ln -s /var/lib/mysql/mysql.sock /tmp
Restart mysql :- service mysql [...]
Related posts:
- How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1 This tutorial is based on Falko Timme’s tutorial for MySQL…
- Turbo charging MySQL by setting up the query cache To make sure MySQL uses the query cache, there are…
- Moving mySQL DBs between servers Moving mySQL DBs from one server to another: mysqldump -uUSER…
Related posts: