MySQL Plugin r39-2 Error: Can't connect to local MySQL server through socket
#5

Quote:
Originally Posted by sammp
View Post
Connection code!
pawn Code:
#define MYSQL_HOST      "localhost"
#define MYSQL_USER      "mysql_user_name"
#define MYSQL_PASS      "password"
#define MYSQL_DB        "db_name"

new dbHandle;

dbHandle = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS);
It doesn't work either 127.0.0.1 or localhost
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)