Hey,

I got a CoD2 installation kind of running from IzNoGoDs tutorial with libcod/mysql.
Im using the linux 1.3 cracked lnxded file and compiled libcod myself on Ubuntu 14.04.4, x64.
Also I got a running mysql-server on this machine, and can connect to the server and the mysql server fromother pc's as well (also through external IP's)

When I try to run mysql, I'll get a segfault right after mysql_query()

PHP Code:
init()
{
    
wait 5;

    
level.mysqlHandle mysql_reuse_connection();

    if( !
isDefinedlevel.mysqlHandle ) )
    {
        
hostname "1.2.3.4";
        
username "bla";
        
password "*******";
        
database "games_cod2";
        
port 3306;

        
mysqlHandle mysql_init();
        
mysqlResult mysql_real_connectmysqlHandle hostname username password database port );

        if( !
mysqlResult )
        {
            
iprintln"errno 1 = " mysql_errnomysqlHandle ) );
            
iprintln"errno 2 = " mysql_errnomysqlHandle ) );

            
mysql_closemysqlHandle );

            return;
        }

        
level.mysqlHandle mysqlHandle;
    }

    
iprintln"mysqlHandle: " level.mysqlHandle );

    
queryString "INSERT INTO table3 ( lol ) VALUES ( 'LOLoLOL' )";

    
querryErrorExists mysql_querylevel.mysqlHandle queryString );

    
wait 1// I DO NOT GET HERE

    
if( querryErrorExists )
    {
        
iprintln"error in mysql_query" );

        return;
    }

    
// skipped rest 
the last lines in the terminal:

PHP Code:
WARNINGNon-localized Game Message string is not allowed to have letters in itMust be changed over to a localized string"mysqlHandle: 168752976"
./s.shline 2319809 Segmentation fault      (core dumpedLD_PRELOAD="./libcod/bin/libcod2_1_3.so" $cod $args 
The table exists, and it also inserts the record in it as expected.

Am I missing something?

(If you need more infos, pls tell me how, its like my first time on lnx)