The message is: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11) in /home/www/..../..../system/database/mysql.php on line 6

Thanks for reading.
Thanks mate. My host provider told me is the script problem and they don't support if the lies with the scripts. I keep logging me out as well. Is that the same problem?lynnchris9 wrote:The issue seems to be with your hosting provider, may be you need to shift to dedicated hosting
No reason for the deletion of 'for a client' other than I thought it made me look like I knew all html speak as I don't usually do web design, just basic web editing, I and a qualified designer for publishing as a rule. Thanks for acknowledging my message but I need help with the issue rather than pointing out I deleted 'for a client'. The reason the message was locked was because I was directed to a bunch of other posts. I PM'd the moderator who said to post in one of these active posts, so that's what I've done. So my problem still remains.butte wrote:GreenDoor, your essentially identical other post (here you deleted "for a client"), http://forum.opencart.com/viewtopic.php?f=19&t=109636 four hours prior to this one just above, was answered two hours later by a Moderator who gave you http://forum.opencart.com/viewtopic.php?t=20806 -- and then was for some reason locked.
Why did you repost that opener verbatim (save for deleting "for a client") here?
Thanks for thisbutte wrote:Okay. (The "for a client" itself didn't matter, but seeing a locked version was unusual.)
The "denied for user 'hidden'@'localhost' (using password: YES)" means that username hidden[...] gave a password and the combination failed.
The "Could not make a database link using hidden_ocar275@localhost" follows from that failure.
Initially, check both config.php files in the //DATABASE section, both of those sections should say the same thing: databasename, databaseusername, and databasepassword, in both of them. The server should normally be "localhost" (except on GoDaddy and some other servers).
In your host control panel under mysql databases you'll be able to get at the databasename, databasepassword, and (to reset it) databasepassword. The Statistics or the mysql section (depending upon server) should give you the mysql host (either a quad-decimal nnn.nnn.nnn.nnn or localhost). When you do that, run through the control panel and two config.php files again, same way as before with the new entries, so that it will connect.
Try that and see if it least connects to database. When it connects you'll want to change the databaseusername at your leisure -- you've made it public, removing one thing hackers would try to guess.
Users browsing this forum: No registered users and 18 guests