16.01.2011, 17:47
An easier way to do it is to define the user, pass, ip, database.
Then you could define those like this:
pawn Code:
new MySQL:connection = mysql_init(LOG_ONLY_ERRORS);
mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB, connection, 1);
pawn Code:
#define MYSQL_HOST ""
#define MYSQL_USER ""
#define MYSQL_DB ""
#define MYSQL_PASS ""