Page 1 of 1

Accessing the MySQL Database Engine from PB for Linux

Posted: Fri Aug 01, 2003 10:11 pm
by CoderLaureate
Does anybody know if PB for Linux can access the MySQL Database engine? If so, how can I go about doing this? If NOT, how can I go about doing this?

-Jim

Posted: Sun Aug 03, 2003 1:58 pm
by Fred
Yes it can. You have to install the ODBC package for linux and then configure it as you do on Windows.

Posted: Sun Aug 03, 2003 8:41 pm
by CoderLaureate
Fantastic!

I totally forgot to install MyODBC.
Thanks Fred!!!

-Jim

Database access still not working.

Posted: Tue Aug 19, 2003 7:46 pm
by CoderLaureate
When I try to use the InitDatabase() function I get the following error while compiling...

Code: Select all

******************************************
PureBasic Linux x86 v3.50
******************************************

Loading external modules...
Starting compilation...

Line 11: InitDatabase() is not a function, an array, or a linked list
Since I can't even get this far, I'm thinking that none of the other database functions are working either?

Will they be available in the next Linux version of PB?


-Jim

Posted: Fri Aug 22, 2003 9:07 am
by Fred
Strange, I tested this one without problems. I will take a look. About the new version, it will be released at the same time than the Windows version and will support 2D drawing for screen/sprites the 3D engine (full) and more..

Posted: Fri Aug 22, 2003 2:26 pm
by CoderLaureate
Thanks Fred!
You da man!

Posted: Tue Dec 02, 2003 12:24 pm
by RSommer
I got the same error message and don't really know which ODBC-Package I have to install. I'm using Debian Woody and installed "libmyodbc" and "unixodbc". I don't know what to do. Any suggestions?