26.12.2017, 10:19
So im trying to create a server with a database. And im running in to some errors.
What i have done
- I am running pawno from the folder with the a_mysql.inc
- I have the mysql plugin in the plugins folder, and i have libmySQL in the main folder.
So, if i include
#include <mysql>
I get this error : X:\x\x\x\x\gamemodes\rp_test.pwn(57) : fatal error 100: cannot read from file: "mysql"
__________________________________________________ ____________________________________________
And if i include
#include <a_mysql>
I get the following error. :
x:\x\x\x\x\gamemodes\rp_test.pwn(69) : error 017: undefined symbol "MYSQL_HOST"
What i have done
- I am running pawno from the folder with the a_mysql.inc
- I have the mysql plugin in the plugins folder, and i have libmySQL in the main folder.
So, if i include
#include <mysql>
I get this error : X:\x\x\x\x\gamemodes\rp_test.pwn(57) : fatal error 100: cannot read from file: "mysql"
__________________________________________________ ____________________________________________
And if i include
#include <a_mysql>
I get the following error. :
x:\x\x\x\x\gamemodes\rp_test.pwn(69) : error 017: undefined symbol "MYSQL_HOST"