Home > Feeds > Linux Server Type: Restoring MySQL SimLink.

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:

  1. How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1 This tutorial is based on Falko Timme’s tutorial for MySQL…
  2. Turbo charging MySQL by setting up the query cache To make sure MySQL uses the query cache, there are…
  3. Moving mySQL DBs between servers Moving mySQL DBs from one server to another: mysqldump -uUSER…

Related posts:

  1. How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1
  2. Rebuilding/Restarting Exim Mail Server
  3. Important Notice about MySQL and Automated Process Killers with cPanel 11.24
  4. MySQL Co-Founder Monty Widenius Quits Sun
  5. Linux server tip: force reboot/shutdown

Feeds

  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.