X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   RE: Can't connect to local MySQL (https://forum.x-cart.com/showthread.php?t=37163)

DezineJunkie 01-30-2008 09:19 AM

RE: Can't connect to local MySQL
 
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/xxxxxxxxxx/public_html/include/func/func.db.php on line 47
Sorry, the shop is inaccessible temporarily. Please try again later.

hmm just got this nasty message- does this have anything to do with the images i just loaded? or is this something else

balinor 01-30-2008 07:04 PM

Re: Can't connect to local MySQL
 
That warning can mean your host is having problems with the DB server, or it could also mean you are on shared hosting and the quota for connections has been met. Who's your host?

MythNReality 03-09-2008 06:30 PM

Re: Can't connect to local MySQL
 
I AM having the same problem. Got exactly the SAME message when I tried the x-cart installation wizard.
X-Cart Installation Wizard
Step 3: Preparing to install X-Cart database

Fatal error: Can't connect to the MySQL server.

balinor 03-10-2008 03:38 AM

Re: Can't connect to local MySQL
 
That's a different error...that means you supplied the incorrect data for the database in the setup screen. Double check your database name, password and username and also the name of the server (usually localhost) that it is on.

MythNReality 03-12-2008 12:12 PM

Re: Can't connect to local MySQL
 
Thanks, it works now. ;-)


All times are GMT -8. The time now is 02:36 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.