04-02-2012
MySQL Hosting
Why do I get error message: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' on shell?
If you get this error message when trying to use mysql command line utility from shell:
"Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' "
It means you need to access the mysql using -h 127.0.0.1 - for example:
mysql -h 127.0.0.1 -u yourdbuser -p yourdatabase
If you get this error message from a web script, please check with support for the status of the mysql server.
Information
- Useful Info:
- Client Support Centre
- Knowledgebase
- Quickstart Guide
- Reseller Hosting
- Free Domain Names
- Methods of Contact:
- Client Support
- Email Us
- Contact Us
- Other Resources:
- Domain Names
- Whats my IP?
- Whois Lookup
- Special Offers
Price List
Hosting Plans From:
Budget Hosting €3.49/mth
Business Hosting €4.99/mth
Reseller Hosting €19.99/mth
E-Commerce €9.99/mth
