27.01.2017, 23:46
!: Sorry for posting here but I can't post in scripting help, this also happened to other people so it may be a bug, they posted in General about it.
Well my problem is this:
Why?
I am sure that I have the password and everything right in the defines.
Well my problem is this:
Code:
[MYSQL]: [ERROR]: Connection to `delceaga_samp` failed!
I am sure that I have the password and everything right in the defines.
Code:
public ConnectMySQL() { mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS); if(mysql_ping() == 1) { mysql_debug(1); printf("[MYSQL]: Connection to `%s` succesful!", SQL_DB); } else { printf("[MYSQL]: [ERROR]: Connection to `%s` failed!", SQL_DB); } return 1; }