Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / MySQL, how to connect?

Author
Message
Kimeraweb
16
Years of Service
User Offline
Joined: 21st Jul 2010
Location:
Posted: 21st Jul 2010 16:26
Hi all, I feel little bit ashamed because I've read so many posts about it and still, I can't make a connection to MySQL.

I explain what I did.

1.- I've downloaded a "pack" found in some thread called DBP_TPC_MySQL.zip.

2.- Following instructions, I've copied DBP_TPC_MySQL_EXP.DLL into Dark Basic Software\Dark Basic Professional\Compiler\plugins-user. I noticed it recognize now the mysql commands, so I guess this step is right, even the key words in the editor aren't highlighting.

3.- I restarted the program thinking, the changes have to be read.

finally, I try use this simple script:


I'm using EasyPHP V5.3.0 in localhost, and the program returns conexion failed.

I'm not much skilled, I'm skilled Php, and the connection is really easy, what is missing?

Thank you so much.
Diggsey
20
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 21st Jul 2010 23:36
Do you even have a mysql server running on localhost?

[b]
Kimeraweb
16
Years of Service
User Offline
Joined: 21st Jul 2010
Location:
Posted: 22nd Jul 2010 16:15
Of course, EasyPhp provides MySQL and Apache server with Php engine.

http://www.easyphp.org/
GIDustin
18
Years of Service
User Offline
Joined: 30th May 2008
Location:
Posted: 23rd Jul 2010 01:53 Edited at: 23rd Jul 2010 02:00
You have the ODBC driver installed? MySQL ODBC 5.1 Driver

Edit: If not, you need one.
http://dev.mysql.com/downloads/connector/odbc/

Login to post a reply

Server time is: 2026-07-25 05:32:45
Your offset time is: 2026-07-25 05:32:45