Ok, I got that done now MySQL cannot connect to server!

Status
Not open for further replies.

thesit37

New Member
Messages
3
Reaction score
0
Points
0
I cannot connect to the server at all, I'm using this:
$conn = mysql_connect("localhost:/tmp/mysql.sock","mysql_username","mysql_user_password");
mysql_select_db("mysql_database", $conn);
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
just use localhost

e.g. mysql_connect( "localhost", ...
 
Status
Not open for further replies.
Top