[Help] MySQL Problem
#1

In addition to those listed below, the compiler accuses of error, when I put something related to MySQL, however I have already updated the plugin and necessary files, I have put the include, but still continues to give error when compiling, including the errors below.

PHP Code:
forward ConnectMySQL();
public 
ConnectMySQL()
{   
    new 
MySQLOptoption_id mysql_init_options();
    
mysql_set_option(option_idAUTO_RECONNECTtrue);
    
dbTop mysql_connect(SQL_HOSTSQL_USERSQL_PASSSQL_DBoption_id);
    if(
dbTop == MYSQL_INVALID_HANDLE || mysql_errno(dbTop) != 0)
    {
        print(
"=================== MYSQL CONNECTION ===================");
        print(
"[CONNECTION ERROR] Error connecting to Database.");
        print(
"=================== MYSQL CONNECTION ===================");  
        
SendRconCommand("exit");    
    }
    print(
"=================== MYSQL CONNECTION ===================");
    print(
"[CONNECTION ACCEPT] Connected Database.");
    print(
"=================== MYSQL CONNECTION ===================");
    return 
1;

Errors:
Code:
error 017: undefined symbol "mysql_init_options"
error 017: undefined symbol "mysql_set_option"
Reply


Messages In This Thread
[Help] MySQL Problem - by ApolloScripter - 18.01.2019, 06:17
Re: [Help] MySQL Problem - by ApolloScripter - 18.01.2019, 06:43
Re: [Help] MySQL Problem - by B3x7K - 18.01.2019, 09:05
Re: [Help] MySQL Problem - by ApolloScripter - 18.01.2019, 21:24

Forum Jump:


Users browsing this thread: 1 Guest(s)