mysql connect error only in chrome

Asked by:
dbowes
Time:
2012-12-08 7:50 am
Category:
Databases
Hits:
103
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

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

jamesr
2012-12-10 1:38 pm
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

You must login before you can post a comment about this answer.

Like this Question?

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Google Adwords Credit Link Doesn't Work in AMP
  2. my email is being rejected
  3. Can I run the FiverrScript on my hosting

Support 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.