[Gambas-user] Cannot find driver for database: mysql
Nigel Gerrard
nigel at ...38...
Wed Sep 15 14:51:40 CEST 2004
Seems we should add this to a faq somewhere as it gets asked a number of
times :-)
Standard answer:
Check to see whether the driver libraries have been installed for gambas:
ls-l /opt/gambas/lib/gambas/*my*
If they are not there then they have not been compiled. They might not be
there
because mysql is installed in a different place to expected. Locate where
the
libmysqlclient library is and the mysql.h header file.
In the gambas folder :
./reconf
Then rerun configure pointing to the relevant paths:
eg.
configure --with-mysql-includes=/usr..../include/mysql --with-mysql-librarie
s=/usr/lib/mysql
By default configure will look in the following :
/usr/lib/inlcude, /usr/lib/mysql/include,
/usr/local/include, /usr/local/mysql/include, /opt/include,
/opt/mysql/include,
/usr/include, /usr/mysql/include - e.g checking for
mysql.h my_config.h
/usr/local/lib /usr/local/mysql/lib /opt/lib
/opt/mysql/lib /usr/lib /usr/mysql/lib - checking for libmysqlclient
Nigel
----- Original Message -----
From: "MJ" <mj at ...621...>
To: <gambas-user at lists.sourceforge.net>
Sent: Monday, September 13, 2004 7:27 PM
Subject: [Gambas-user] Cannot find driver for database: mysql
> Olá, developed a program using the mysql, this working normal in my pc.
But
> in other this giving a mistake:
>
> Cannot find driver for database: mysql
>
> The mysql this installed in this pc.
>
> Some clue?
>
> Thankful, mj.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> 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