cercando su list.mysql.com ho trovato questa risposta a un tizio che aveva il mio stesso problema:

codice:
Sorry but you can't use gcc to compile MySQL;  You must use VC++

At least I haven't heard about anyone managing to use gcc to link with
the MySQL client library compiled with VC++..
in pratica, dato che libmysql.lib è stata compilata con VC++, nn può essere usata con Dev-c++.
Adesso però mi chiedo, possibile che nonostante la larga diffusione di questo database nn esista una libreria per dev-c++ ???

spero possiate aiutarmi...