* * *

Author Topic: Cannot load default MySQL library (libmysql.dll)  (Read 911 times)

elucasfreitas

  • Newbie
  • Posts: 3
Cannot load default MySQL library (libmysql.dll)
« on: April 15, 2017, 12:54:12 am »
Pessoal boa noite.

Instalei o Lazarus 64 no meu pc, e gostaria de conectar a um banco mysql.

Proém, quando utilizo o SQLConecctor e tento mudar a propriedade connected para true, me apresente o erro:

"Cannot load default MySQL library (libmysql.dll)"

Alguém já passou por este problema? Como resolveu?

Phil

  • Hero Member
  • *****
  • Posts: 2152
Re: Cannot load default MySQL library (libmysql.dll)
« Reply #1 on: April 15, 2017, 01:24:37 am »
"Cannot load default MySQL library (libmysql.dll)"

That probably means your app can't find the library, either because MySQL is not installed or is not installed on the system path or the library is not in the same directory as the app executable.


elucasfreitas

  • Newbie
  • Posts: 3
Re: Cannot load default MySQL library (libmysql.dll)
« Reply #2 on: April 15, 2017, 04:06:43 am »
Hi phill.
thanks for help...

The problem has been solved, but the SQLConnector have support up to Mysql5.6 and my server have 5.7.14  :-(.. still thinking what to do...

Well, I did download the libmysql.dll for  64x, so I moved to C:\Windows\System32\
I did reboot all system... and start lazarus again... and all work fine...

Either way... thanks a lot

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus