PDA

View Full Version : Database server: Localhost via UNIX socket


E.C2
01/08/2013, 01:17 PM
THE QUESTION IS:

Host is using server : Localhost via UNIX socket

#define MAP_NAME "Los Santos"
#define PASSWORD "thepassword"
#define HOST_ADDR "127.0.0.1" - What I have to put here?
#define HOST_USER "hostusername" - What I have to put here?
#define HOST_DATA "databasename" - What I have to put here?
#define HOST_PASS "hostpassword" - What I have to put here?

I sound dumb, but how I should connect with the host database mysql server?

Error

[MySQL] Error (0): Function: mysql_connect failed, mysql was not initialized on this handle.

- It doesn't connect with the database.

I use linux plugins.

EVERYONE WHO IS HELPING = REP!

Vince
01/08/2013, 01:31 PM
Ask the host for the credentials.