MySQL Forums
Forum List  »  Install & Repo

getting my MySQL database on my CPU to work with my web site
Posted by: chuparon
Date: September 06, 2004 04:51PM

I host a Ragnarok Online server on my computer and i have it to where i want people to register for it on my website ( and from there it sends that info to my MySQL database on my cpu and then lets them log into the game.

But i can't get it to where it works on my website. I get this error

"Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/freehost/ on line 327"

I should state that i didn't make this script that it's pre-made, but i know of 100's of people that use the same script just fine and it works for them. so i know it has something to do with me.

But yeah, anyone know what could be causing this error?

Thanks for the help.

Options: ReplyQuote

Written By
getting my MySQL database on my CPU to work with my web site
September 06, 2004 04:51PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.