Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-10

MySQL Access

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Terry A. Haimann

Can someone please tell me how to setup mysql access in Lazarus (Running under Linux.) I have it working on my desktop, but can't reproduce it on a laptop. Whenever I try to connect with Lazarus , I get a Cannot load mysql library "libmysqlclient.so", please check your installation.

I have tried to follow the doc files, but they are really old and am needing some current documentation. I am currently running FC8 on the laptop, FC7 on the desktop. Mysql 5.0.45 on both systems. Lazarus 0.9.22 on the desktop and 0.9.24 on the laptop.

I have requested this info on the forums, but gotten no use feedback.

Reply by email

Tom Lisjac
to Terry A. Haimann
Terry A. Haimann wrote 9 lines
Can someone please tell me how to setup mysql access in Lazarus (Running under Linux.) I have it working on my desktop, but can't reproduce it on a laptop. Whenever I try to connect with Lazarus , I get a Cannot load mysql library "libmysqlclient.so", please check your installation. I have tried to follow the doc files, but they are really old and am needing some current documentation. I am currently running FC8 on the laptop, FC7 on the desktop. Mysql 5.0.45 on both systems. Lazarus 0.9.22 on the desktop and 0.9.24 on the laptop.

Use yum to install the mysql-server and mysql-libs rpms.

Reply by email

Terry A. Haimann
to Tom Lisjac
Tom Lisjac wrote 16 lines
On Sat, Oct 18, 2008 at 9:40 AM, Terry A. Haimann wrote: > Can someone please tell me how to setup mysql access in Lazarus (Running > under Linux.) I have it working on my desktop, but can't reproduce it > on a laptop. Whenever I try to connect with Lazarus , I get a Cannot > load mysql library "libmysqlclient.so", please check your installation. > > I have tried to follow the doc files, but they are really old and am > needing some current documentation. I am currently running FC8 on the > laptop, FC7 on the desktop. Mysql 5.0.45 on both systems. Lazarus > 0.9.22 on the desktop and 0.9.24 on the laptop. > Use yum to install the mysql-server and mysql-libs rpms.

I already appear to have those installed:

yum list | grep mysql
mysql.i386 5.0.45-6.fc8 installed
mysql-libs.i386 5.0.45-6.fc8 installed
mysql-server.i386 5.0.45-6.fc8 installed
php-mysql.i386 5.2.6-2.fc8 installed
Io-language-mysql.i386 20070710-2.fc8 fedora
apr-util-mysql.i386 1.2.10-2.fc8 fedora
bacula-director-mysql.i386 2.0.3-11.fc8 fedora
bacula-storage-mysql.i386 2.0.3-11.fc8 fedora
bytefx-data-mysql.i386 1.2.4-2.fc8 fedora
callweaver-mysql.i386 1.2-0.3.rc4.20070822 fedora
dbmail-mysql.i386 2.2.5-7.fc8 fedora
dovecot-mysql.i386 1:1.0.5-1.fc8 fedora
freeradius-mysql.i386 1.1.7-3.1.fc8 fedora
gnokii-smsd-mysql.i386 0.6.18-3.fc8 fedora
koffice-kexi-driver-mysql.i386 1.6.3-12.fc8 fedora
libdbi-dbd-mysql.i386 0.8.2-1.2.fc8 fedora
libgda-mysql.i386 1:3.0.1-4.fc8 fedora
libgda-mysql-devel.i386 1:3.0.1-4.fc8 fedora
libpreludedb-mysql.i386 0.9.11.1-2.fc7 fedora
lighttpd-mod_mysql_vhost.i386 1.4.18-1.fc8 fedora
mod_auth_mysql.i386 1:3.0.0-5 fedora
mysql.i386 5.0.45-4.fc8 fedora
mysql++.i386 2.3.2-2.fc8 fedora
mysql++-devel.i386 2.3.2-2.fc8 fedora
mysql++-manuals.i386 2.3.2-2.fc8 fedora
mysql-administrator.i386 5.0r12-3.fc8 fedora
mysql-bench.i386 5.0.45-4.fc8 fedora
mysql-connector-java.i386 1:3.1.12-3.fc6 fedora
mysql-connector-odbc.i386 3.51.14r248-2.fc8 fedora
mysql-devel.i386 5.0.45-4.fc8 fedora
mysql-gui-common.i386 5.0r12-3.fc8 fedora
mysql-gui-tools.i386 5.0r12-3.fc8 fedora
mysql-libs.i386 5.0.45-4.fc8 fedora
mysql-proxy.i386 0.5.1-3.fc8 fedora
mysql-query-browser.i386 5.0r12-3.fc8 fedora
mysql-server.i386 5.0.45-4.fc8 fedora
mysql-test.i386 5.0.45-4.fc8 fedora
nagios-plugins-mysql.i386 1.4.8-7.fc8 fedora
pdns-backend-mysql.i386 2.9.21-2.fc8 fedora
perl-Class-DBI-mysql.noarch 1.00-3.fc8 fedora
php-mysql.i386 5.2.4-3
fedora
php-pear-MDB2-Driver-mysql.noarch 1.4.1-2.fc8 fedora
php-pear-MDB2-Driver-mysqli.noarch 1.4.1-2.fc8 fedora
proftpd-mysql.i386 1.3.1-1.fc8 fedora
pyicq-t-mysql.noarch 0.8-4.a.fc8 fedora
qt4-mysql.i386 4.3.2-1.fc8 fedora
rekall-mysql.i386 2.4.5-6.fc8.1 fedora
rsyslog-mysql.i386 1.19.6-3.fc8 fedora
ruby-mysql.i386 2.7.3-2.fc8 fedora
ser-mysql.i386 0.9.6-13.fc8 fedora
showimg-mysql.i386 0.9.5-13.fc8 fedora
snort-mysql.i386 2.7.0.1-3.fc8 fedora
snort-mysql+flexresp.i386 2.7.0.1-3.fc8 fedora
ulogd-mysql.i386 1.24-5.fc8 fedora

Reply by email

Tom Lisjac
to Terry A. Haimann
Show quoted text 19 lines
>> Can someone please tell me how to setup mysql access in Lazarus (Running >> under Linux.) I have it working on my desktop, but can't reproduce it >> on a laptop. Whenever I try to connect with Lazarus , I get a Cannot >> load mysql library "libmysqlclient.so", please check your installation. >> >> I have tried to follow the doc files, but they are really old and am >> needing some current documentation. I am currently running FC8 on the >> laptop, FC7 on the desktop. Mysql 5.0.45 on both systems. Lazarus >> 0.9.22 on the desktop and 0.9.24 on the laptop. >> > > Use yum to install the mysql-server and mysql-libs rpms. I already appear to have those installed: yum list | grep mysql mysql.i386 5.0.45-6.fc8 installed mysql-libs.i386 5.0.45-6.fc8 installed mysql-server.i386 5.0.45-6.fc8 installed

Couldn't reproduce the problem on my Fedora 9 system with the latest svn when connecting to the mysql test db. These are the mysql packages I have installed:

rpm -qa | grep mysql
mysql-5.0.51a-1.fc9.i386
libdbi-dbd-mysql-0.8.3-1.fc9.i386
php-mysql-5.2.6-2.fc9.i386
mysql-connector-odbc-3.51.24r1071-1.fc9.i386
mysql-libs-5.0.51a-1.fc9.i386
mysql-server-5.0.51a-1.fc9.i386

service mysqld status
Should also return an active pid.

Shouldn't be necessary but try running ldconfig. Updating to a more recent Lazarus release might also be something to try.

-Tom

Reply by email

Terry A. Haimann
to Tom Lisjac
Tom Lisjac wrote 48 lines
>>> Can someone please tell me how to setup mysql access in Lazarus (Running >>> under Linux.) I have it working on my desktop, but can't reproduce it >>> on a laptop. Whenever I try to connect with Lazarus , I get a Cannot >>> load mysql library "libmysqlclient.so", please check your installation. >>> >>> I have tried to follow the doc files, but they are really old and am >>> needing some current documentation. I am currently running FC8 on the >>> laptop, FC7 on the desktop. Mysql 5.0.45 on both systems. Lazarus >>> 0.9.22 on the desktop and 0.9.24 on the laptop. >>> >>> >> Use yum to install the mysql-server and mysql-libs rpms. >> > I already appear to have those installed: > > yum list | grep mysql > mysql.i386 5.0.45-6.fc8 installed > mysql-libs.i386 5.0.45-6.fc8 installed > mysql-server.i386 5.0.45-6.fc8 installed > Couldn't reproduce the problem on my Fedora 9 system with the latest svn when connecting to the mysql test db. These are the mysql packages I have installed: rpm -qa | grep mysql mysql-5.0.51a-1.fc9.i386 libdbi-dbd-mysql-0.8.3-1.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-libs-5.0.51a-1.fc9.i386 mysql-server-5.0.51a-1.fc9.i386 service mysqld status Should also return an active pid. Shouldn't be necessary but try running ldconfig. Updating to a more recent Lazarus release might also be something to try. -Tom _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Ver. 0.9.26 seems to have fixed the issue, what ever it was.

Reply by email