• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Compiling DB Connection Error !!

Status
Not open for further replies.

Synth

Exalted Member
Hello,Emudevs!
So today i was compiling my own core i'm using the latest mysql server 5.7 so once i build my solution and it start build world release i get db errors and the compile result failed:
========== Build: 23 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
So you can see this DB connetion errors here:
DB erros during compile
Does anyone have any idea about those errors,i'm wiered i don't know why i get them since every thing in cmake was fine.

Thank you,
Best regards,
Synth !!
 

Rochet2

Moderator / Eluna Dev
maybe wrong bit version.
Make sure you installed 32 bit or 64 bit - whichever you compile the core as.
 

Synth

Exalted Member
maybe wrong bit version.
Make sure you installed 32 bit or 64 bit - whichever you compile the core as.

Well i'm compiling on 64 bit so i think download MYSQL for 32 bit but before i did this they write a note that:MySQL Installer is 32 bit, but will install both 32 bit and 64 bit binaries.so shouldn't be the 64 bit installed with this 32 bit version?Anyway do you have any download link for MYSQL 64 bit?
 

Mathias

Exalted Member
Well i'm compiling on 64 bit so i think download MYSQL for 32 bit but before i did this they write a note that:MySQL Installer is 32 bit, but will install both 32 bit and 64 bit binaries.so shouldn't be the 64 bit installed with this 32 bit version?Anyway do you have any download link for MYSQL 64 bit?

It might not be pointing to the 64 bit binaries, I think you can change it during cmake
 

Rochet2

Moderator / Eluna Dev
The core was compiled 32 bit and mysql was likely installed 64 bit.
A 5.6 mysql 32bit (x86) was installed and the compilation succeeded as expected.

Also if someone has similar issues, the TC requirements page has the needed libs as a download.
You can set the mysql path in cmake to those and it would work also without trying to reinstall mysql or install mysql if you are already using something else or dont want it.
 

Synth

Exalted Member
The core was compiled 32 bit and mysql was likely installed 64 bit.
A 5.6 mysql 32bit (x86) was installed and the compilation succeeded as expected.

Also if someone has similar issues, the TC requirements page has the needed libs as a download.
You can set the mysql path in cmake to those and it would work also without trying to reinstall mysql or install mysql if you are already using something else or dont want it.
Thank you so much Rochet2!
Its solved!
 
Status
Not open for further replies.
Top