• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved MSQL Error

Crip Killa

♪Chasm Dev♪
Joined
Oct 19, 2008
Messages
515
Reaction score
44
Hello I was wondering if someone can help me solve this error I do not understand how to fix it thanks.

Code:
Compiler: Default compiler
Building Makefile: "C:\Users\John John\Desktop\Chasm 8.71\sources\dev-cpp\Makefile.win"
Executing  make...
make.exe -f "C:\Users\John John\Desktop\Chasm 8.71\sources\dev-cpp\Makefile.win" all
g++.exe -c ../database.cpp -o obj/database.o -I"C:/Users/John John/Desktop/Stian's Repack Dev-Cpp v2/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -O2 -D__DEBUG_LUASCRIPTS__   -fexpensive-optimizations -O1

In file included from ../database.cpp:22:
../databasemysql.h:26:19: mysql.h: No such file or directory
In file included from ../database.cpp:22:
../databasemysql.h:58: error: `MYSQL' does not name a type

../databasemysql.h: In member function `virtual uint64_t DatabaseMySQL::getLastInsertId()':
../databasemysql.h:52: error: `m_handle' was not declared in this scope
../databasemysql.h:52: error: `mysql_insert_id' was not declared in this scope
../databasemysql.h: At global scope:
../databasemysql.h:76: error: expected `)' before '*' token

../databasemysql.h:82: error: ISO C++ forbids declaration of `MYSQL_RES' with no type
../databasemysql.h:82: error: expected `;' before '*' token
../databasemysql.h:83: error: `MYSQL_ROW' does not name a type

make.exe: *** [obj/database.o] Error 1

Execution terminated
 
Last edited:
Ok solved this I just moved Stian's Repack Dev-Cpp v2 to a different location changed all the folder locations as mentioned in link to the tutorial above and then deleted it again.Placed it back on my desktop and did the same thing again this solved it. Thanks for the help also @dominique120
 
Last edited:
Back
Top