13.04.2015, 11:57
Код:
public mysql_start() { new MySQL:connection = mysql_init(0); //mysql_init(LOG_ONLY_ERRORS, 1) if (mysql_connect(DBHOST, DBUSER, DBPASS, DBNAME, connection, 1)) { //mysql_debug(0); print("[MYSQL] Connection successful!"); } else { print("[MYSQL] There was an error connecting to the MYSQL server"); } return 1; }