20.08.2012, 04:47
I am testing out BlueG's MySQL plugin, but for some reason, even though I included the latest a_mysql (R7, same for plugin), I get the following errors :
Here's my code :
Also tried specifying the Handle : mysql_query("FLUSH PRIVILEGES", mysql), and threaded queries, still nothing.
Anyone knows what's wrong in here?
Thanks for your time
Код:
sqltest.pwn(39) : error 017: undefined symbol "mysql_query"
pawn Код:
#include <a_samp>
#include <a_mysql>
[...]
public OnFilterScriptInit()
{
mysql_debug(1);
new mysql = mysql_connect("127.0.0.1","root","samp","");
mysql_query("FLUSH PRIVILEGES"); // LINE 39
mysql_close();
return 1;
}
Anyone knows what's wrong in here?
Thanks for your time