Joined: 06 Feb 2006 Posts: 19 Location: Petawawa, Ontario, CANADA
Posted: Thu Dec 20, 2007 7:46 pm msyql connect error
i'm adding a membership logon, with a database, to my groups website and i'm having issues connecting to the mysql server.
when i log in, i get the following error:
Code:
Could not connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
but i know the connection works, because if i enter the wrong password/username combination i get the appropriate error which means the website is connecting to mysql no probs since logon info is in a database table.
so... i suspect the issue may be related to sub-directory:
/public/index.php <-- website home page (obviously)
/public/membership.php <-- membership page (and logon)
/public/membership/index.php <-- mysql error when this page loads, and attempts to open the database
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum