<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=ISO-8859-1">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.1 (Linux)">
<style type="text/css">
<!--
@page { margin: 0.79in }
P { margin-bottom: 0.08in }
-->
</style>
<p style="margin-bottom: 0in;">I have Lazarus 0.9.29 installed on a
FC12 Laptop, with Zeos 6.6.6 installed. What do I need to do to
connect to a MySQL 5.1 Server?</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">I have gone in and added
“/usr/lib/mysql to my path<br>
<br>
I have dropped a Zconnection on
my form and set values for Database, user, & password.<br>
I then
set protocal to one of the following:<br>
<br>
mysql<br>
mysql-5<br>
mysqld-5<br>
<br>
and
then tried to change Connected to true and got the following error
messages.<br>
<br>
mysql: None of
the dynamic libraries can be found: libmysqlclient.so.15,
libmysqlclient.so<br>
mysql-5:
None of the dynamic libraries can be found: libmysqlclient.so.15,
libmysqlclient.so<br>
mysqld-5: None of the dynamic
libraries can be found: libmysqld.so <br>
<br>
I don't
know what is wrong, but Zeos 6.6.6 is suppposed to be able to connect
to this server. </p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">These libraries are what yum says I
have installed:</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">yum list installed | grep mysql
</p>
<p style="margin-bottom: 0in;">mysql.i686 5.1.47-1.fc12 @updates </p>
<p style="margin-bottom: 0in;">mysql-devel.i686 5.1.47-1.fc12 @updates </p>
<p style="margin-bottom: 0in;">mysql-embedded.i686 5.1.42-7.fc12
@updates </p>
<p style="margin-bottom: 0in;">mysql-libs.i686 5.1.47-1.fc12 @updates </p>
<p style="margin-bottom: 0in;">mysql-server.i686 5.1.47-1.fc12 @updates
</p>
<p style="margin-bottom: 0in;">php-mysql.i686 5.3.2-1.fc12 @updates </p>
<p style="margin-bottom: 0in;">qt-mysql.i686 1:4.6.2-20.fc12
@updates </p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">And just because I kknow you are going
to ask is a listing of my /usr/lib/mysql dir:</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">ls -l /usr/lib/mysql
</p>
<p style="margin-bottom: 0in;">total 20600
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 1704
2010-05-24 14:57 libdbug.a
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 111898
2010-05-24 14:57 libheap.a
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 516440
2010-05-24 14:57 libmyisam.a
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 96874
2010-05-24 14:57 libmyisammrg.a
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 1787660
2010-05-24 14:57 libmysqlclient.a
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 1800900
2010-05-24 14:57 libmysqlclient_r.a
</p>
<p style="margin-bottom: 0in;">lrwxrwxrwx 1 root root 26
2010-07-30 11:10 libmysqlclient_r.so ->
libmysqlclient_r.so.16.0.0
</p>
<p style="margin-bottom: 0in;">lrwxrwxrwx 1 root root 26
2010-07-25 19:38 libmysqlclient_r.so.16 ->
libmysqlclient_r.so.16.0.0
</p>
<p style="margin-bottom: 0in;">-rwxr-xr-x 1 root root 1531076
2010-05-24 14:57 libmysqlclient_r.so.16.0.0
</p>
<p style="margin-bottom: 0in;">lrwxrwxrwx 1 root root 24
2010-07-30 11:10 libmysqlclient.so -> libmysqlclient.so.16.0.0
</p>
<p style="margin-bottom: 0in;">lrwxrwxrwx 1 root root 24
2010-07-25 19:38 libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
</p>
<p style="margin-bottom: 0in;">-rwxr-xr-x 1 root root 1525280
2010-05-24 14:57 libmysqlclient.so.16.0.0
</p>
<p style="margin-bottom: 0in;">lrwxrwxrwx 1 root root 18
2010-02-20 16:28 libmysqld.so.0 -> libmysqld.so.0.0.1
</p>
<p style="margin-bottom: 0in;">-rwxr-xr-x 1 root root 8882504
2010-01-29 12:08 libmysqld.so.0.0.1
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 1445228
2010-05-24 14:57 libmystrings.a
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 422116
2010-05-24 14:57 libmysys.a
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 1821650
2010-05-24 14:57 libndbclient.a
</p>
<p style="margin-bottom: 0in;">lrwxrwxrwx 1 root root 21
2010-07-30 11:10 libndbclient.so -> libndbclient.so.3.0.0
</p>
<p style="margin-bottom: 0in;">lrwxrwxrwx 1 root root 21
2010-07-25 19:38 libndbclient.so.3 -> libndbclient.so.3.0.0
</p>
<p style="margin-bottom: 0in;">-rwxr-xr-x 1 root root 1075896
2010-05-24 14:57 libndbclient.so.3.0.0
</p>
<p style="margin-bottom: 0in;">-rw-r--r-- 1 root root 18080
2010-05-24 14:57 libvio.a
</p>
<p style="margin-bottom: 0in;">-rwxr-xr-x 1 root root 13128
2010-05-24 14:57 mysqlbug
</p>
<p style="margin-bottom: 0in;">-rwxr-xr-x 1 root root 6356
2010-05-24 14:57 mysql_config
</p>
<p style="margin-bottom: 0in;">drwxr-xr-x 2 root root 4096
2010-07-25 19:38 plugin </p>
</body>
</html>