Hi,
I finally got passed the
Project Raised exception class 'EInOutError with message:Can not load MySQL
library libmysqlclient.so. Please check yourinstallation. Indeed I had to
create a symbolik link.
***I have another problem
1) I have an MDI application and when I clicked on a menu it would open another
form. Now it does not any idea how I can fix this.
2) I want to be able to do something like
SQLQuery1.SQLSelect('SELECT * from process ORDER BY processDisplayOrder');
Any ideas.
Thanks to all.
Best
Lefti
Date: Wed, 28 Nov 2007 22:18:09 -0500 From: [EMAIL PROTECTED] To:
lazarus@miraclec.com Subject: Re: [lazarus] MySql 4.1 Database Questions
el stamatakos wrote:Hi All, I am making some progress with
Lazarus. It is a great tool and hope to learn it well. I have a problem
when trying to connect to MySQL 4.1. I used some of the code from the
tutorial essentially and I have the following code
MySQLConnection1.HostName := HostEdit.Text; MySQLConnection1.UserName :=
UserEdit.Text; MySQLConnection1.Password := PasswdEdit.Text;
MySQLConnection1.DatabaseName :='mysql'; MySQLConnection1.Open;I
stepped through each of the MySQL commands from HostName to Open to find
out the problem. I encountered a problem when I tried to do
MySQLConnection1.Open; and got the following errorProject Raised
exception class 'EInOutError with message: Can not load MySQL library
libmysqlclient.so. Please check your installation.I added the
MYSQL41Connection, TSQLQuery, TSQLTransaction from the SQLdb tab in
Lazarus. If I look at the Project Inspector, I see SQLDBLaz (=1.0) as a
Required Package.I haven't worked with MySQL in years and then only
little, but the client library for mysql obviously can't be found/loaded.
I've only worked in linux a bit, but I remember having a similar problem
with a firebirdsql client app. Someone walked me through creating a symlink
to the actual .so file from the application's directory if I remember
correctly. Someone with more experience than I will pipe in I'm sure, but
just a thought in the meantime. -- Warm Regards, Lee My wife is
better at Guitar Hero than I am and it's really irritating.
_ To
unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives