469,623 Members | 1,422 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

lylix

I am trying to connect to mysql
When seting the properties of SQLConnection1
I change the following:

object SQLConnection1: TSQLConnection
ConnectionName = 'MySQLConnection'
DriverName = 'MySQL'
GetDriverFunc = 'getSQLDriverMYSQL'
LibraryName = 'libsqlmy.so'
Params.Strings = (
'DriverName=MySQL'
'HostName=ServerName'
'Database=Database Name'
'User_Name=user'
'Password=password'
'BlobSize=-1'
'ErrorResourceFile=./DbxMySqlErr.msg'
'LocaleCode=0000')
VendorLib = 'libmysqlclient.so'
Left = 64
Top = 80
end
When trying to connect seting connected to true

I get the following message "unable to load libmysqlclient.so
What am I doing wrong

Doing find
/var/www/html/php User=root -->$ find / -name libmysqlclient*
/usr/lib/mysql/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient.so.9.0.0
/usr/lib/mysql/libmysqlclient.so.9
/var/www/html/php User=root -->$ls /usr/lib/mysql/libmysqlclient.so


Jul 19 '05 #1
0 1134

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.