[Gambas-user] mySQL

Nigel Gerrard nigel at ...38...
Mon Jun 28 00:26:22 CEST 2004


Daniel,

Have you compiled the mysql driver? Check in gambas-0.94/src/lib/db/mysql
that
lib.gb.db.mysql.la exists. Tail the file to see the location the library
needs to be installed in.
e.g. /opt/gambas/lib/gambas.

Then cd /opt/gambas/lib/gambas and ls *mysql*.  If you have
lib.gb.db.mysql.so.0.0.0
then you have compiled the driver.

Remember you need the MySQL development packages to compile the driver.

I suspect that you will not have compiled the driver.

Let me know.

Nigel

----- Original Message ----- 
From: "Daniel Oxley" <oxleyd at ...364...>
To: <gambas-user at lists.sourceforge.net>
Sent: Sunday, June 27, 2004 9:20 PM
Subject: [Gambas-user] mySQL


> Hi all, another question from me, but I promise it will be the last for a
> few days!
>
> "Cannot find driver for database: mysql" is the error message I receive.
>
> When I try the example database programs I get the same message so I don't
> think it is my code.  My added components are: gb, gb.db & gb.qt
>
> Does anybody know what this means and how to fix it?  I have mySQL running
> on Suse 9.1
>
> I can access the db via MySQLcc so it is not permissions either.
>
> Thanks to everyone for the prompt help.
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list