Forum > Databases
Simple instruction to connect MySQL 5.7 to a Lazarus project
(1/1)
solent007:
Lazarus IDE v1.8.4, MySql 5.7, MySQL Shell 8.0.12, Windows 10 Home 64-bit
Hi, I am trying to link a MySQL database with Lazarus to make a simple app for learning.
Is there a simple tutorial / video/ documentation I can follow to do this as I am having problems.
I am looking for the basic settings just to get it running. I can access and edit the database from MySQL shell without problem.
One problem I have experienced is that the error message below comes up when I have tried to connect it with MySQL57Connection1.
"Can not load default MySQL library (“libmysql.dll” or “libmysql.dll”). Check your installation."
I am a beginner so please keep it simple!
Thank you.
valdir.marcos:
--- Quote from: solent007 on September 25, 2018, 04:36:54 pm ---Lazarus IDE v1.8.4, MySql 5.7, MySQL Shell 8.0.12, Windows 10 Home 64-bit
Hi, I am trying to link a MySQL database with Lazarus to make a simple app for learning.
Is there a simple tutorial / video/ documentation I can follow to do this as I am having problems.
I am looking for the basic settings just to get it running. I can access and edit the database from MySQL shell without problem.
One problem I have experienced is that the error message below comes up when I have tried to connect it with MySQL57Connection1.
"Can not load default MySQL library (“libmysql.dll” or “libmysql.dll”). Check your installation."
I am a beginner so please keep it simple!
Thank you.
--- End quote ---
Have you read the wiki information?
MySQLDatabases
http://wiki.freepascal.org/MySQLDatabases
mysql
http://wiki.lazarus.freepascal.org/mysql
SqlDBHowto
http://wiki.lazarus.freepascal.org/SqlDBHowto
SQLdb_Package
http://wiki.freepascal.org/SQLdb_Package
Looking for simple Lazarus and MySQL database solution?
http://forum.lazarus.freepascal.org/index.php/topic,38967.0.html
Connection MySQL database
https://forum.lazarus.freepascal.org/index.php/topic,38780.0.html
mysql connector 5.6
https://forum.lazarus.freepascal.org/index.php/topic,34795.0.html
Download MySQL Community Server
https://dev.mysql.com/downloads/mysql/
solent007:
Thank you very much. I will get reading as I have not seen some of this.
Then try again!
Navigation
[0] Message Index