dbmySQL problems (beginner!)

BlitzMax Forums/Brucey's Modules/dbmySQL problems (beginner!)

Chalky(Posted 2008) [#1]
I have downloaded and installed MySQL 5.1, and think I have configured it correctly. I then downloaded modules bah.database and bah.mysql, installed, built and documented them. So far so good. Then I loaded "dbmysql.mod/tests/test_01.bmx" but during compilation the example failed with a libmysql.dll not found error, so I copied it from the MySQL installation into the "tests" directory and tried again. After BMax successfully built the .exe, I then got the error:

DebugLog:(2) Error connecting to database : Can't connect to MySQL server on 'localhost' (10061) (2003)

I have obviously set something up incorrectly - but have no idea where to start! Can anyone please give me any clues?


Retimer(Posted 2008) [#2]
Can you connect to the database through the mysql administrator? It might not even be running live.