-
29th December 2013, 09:16
#6
Actually I do not have such folder, nor can I find between downloads.
libc / mysql
These files can be included, these results do not download.
libmysqlclient.a
libmysqlclient.so
libmysql.so.16
libmysqlclient_r.so
libmysql.so
libmysql.so.16.0.0
This can be a source of error.
The mysql.gsc placed here.
cod4/mods/MyMod/std/mysql.gsc
This is the test script:
#include std\mysql; // at the beginning
mysql_test () {
mysql_init = mysql ();
ret = mysql_real_connect (mysql, "---", "---", "---", "---", "---") // correctly completed course
if (ret) {
iprintln("errno =" + mysql_errno (mysql) + "error ='' '+ mysql_error (mysql)); // does not show anything
mysql_close(mysql);
}
ret = mysql_query (mysql, "INSERT INTO` players `(` id `,` name `,` score `,` kills `) VALUES (NULL, '0 ', '0', '0 ')") / / verifying correct
mysql_close(mysql);
}
The game server does not return an error log screen shows no error, server works, you can play it, mysql query ineffective on the board.
Last edited by balaz98; 29th December 2013 at 09:19.
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules