Fiber Hosting

Affordable Professional Dedicated and Co-Location Services

Documentation and Tutorials by Fiber-Hosting LLC

Created for the novice server administrator of unix and linux powered servers.

Posts Tagged ‘Mysql’

 

Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’

Friday, February 29th, 2008

This error can be quite a pain when setting up a new server.  It normally is not hard to fix so here are the ways we have used the most:

Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’

  1.  Your mysql.sock might be located elsewhere use ‘find / -name mysql.sock’
  2. If it is located else where then ln -s [target] [nameoflink] this will link the file and allow it to start.

Permissions

  1. If you didnt find mysql.sock on your system then do ‘cd /’
  2. Then ‘chmod 777 tmp’

Those should fix the issue


Warning: include(/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php) [function.include]: failed to open stream: No such file or directory in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3

Warning: include() [function.include]: Failed opening '/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3


Entries (RSS) and Comments (RSS).