Having trouble connecting to MySQL 5.1 Server
Posted: 26.07.2010, 15:28
I have Lazarus 0.9.29 installed on a Fedora Core 12 Laptop, with Zeos 6.6.6 installed. What do I need to do to connect to a MySQL 5.1 Server?
I have gone in and added “/usr/lib/mysql to my path.
I have dropped a Zconnection on my form and set values for Database, user, & password.
I then set protocal to one of the following:
mysql
mysql-5
mysqld-5
and then tried to change Connected to true and got the following error messages.
mysql: None of the dynamic libraries can be found: libmysqlclient.so.15, libmysqlclient.so
mysql-5: None of the dynamic libraries can be found: libmysqlclient.so.15, libmysqlclient.so
mysqld-5: None of the dynamic libraries can be found: libmysqld.so
I don't know what is wrong., but I suspect that it is looking for a 5.0 server.
I am pretty sure that I have the correct libraries:
yum list installed | grep mysql
mysql.i686 5.1.42-7.fc12 @updates
mysql-embedded.i686 5.1.42-7.fc12 @updates
mysql-libs.i686 5.1.42-7.fc12 @updates
mysql-server.i686 5.1.42-7.fc12 @updates
php-mysql.i686 5.3.2-1.fc12 @updates
qt-mysql.i686 1:4.6.2-20.fc12 @updates
I have gone in and added “/usr/lib/mysql to my path.
I have dropped a Zconnection on my form and set values for Database, user, & password.
I then set protocal to one of the following:
mysql
mysql-5
mysqld-5
and then tried to change Connected to true and got the following error messages.
mysql: None of the dynamic libraries can be found: libmysqlclient.so.15, libmysqlclient.so
mysql-5: None of the dynamic libraries can be found: libmysqlclient.so.15, libmysqlclient.so
mysqld-5: None of the dynamic libraries can be found: libmysqld.so
I don't know what is wrong., but I suspect that it is looking for a 5.0 server.
I am pretty sure that I have the correct libraries:
yum list installed | grep mysql
mysql.i686 5.1.42-7.fc12 @updates
mysql-embedded.i686 5.1.42-7.fc12 @updates
mysql-libs.i686 5.1.42-7.fc12 @updates
mysql-server.i686 5.1.42-7.fc12 @updates
php-mysql.i686 5.3.2-1.fc12 @updates
qt-mysql.i686 1:4.6.2-20.fc12 @updates