mysql connect error only in chrome

Asked by:
dbowes / 27 Points
Time:
2012-12-08 11:50 am EST
Category:
Databases
Hits:
987
Hi. I have a page that displays information using php and mysql. The page is:

http://www.teachingtruffles.com/all_lessons.php

In chrome (Version 23.0.1271.95 m) I get this error:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/teachi19/public_html/includes/connection.php on line 5
Database connection failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)

The strange thing is, I don't get this error in explorer or firefox. Any ideas what's going one?

Many thanks for you help,

Dave

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

jamesr
Staff
2,132 Points
2012-12-10 5:38 pm EST
Thank you for your question dbowes!

Usually when one browser works and another does not, its due to a bad page being cached in the browser. Please try clearing your browser cache to see if this resolves the problem.

Clearing Your Browser Cache

Best Regards,
James R

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}