PLEASE HELP!! I cannot get MySQL to work in MSVC++ 9 (2008)
Posted by: Ethan Oldale
Date: August 25, 2010 04:19AM

Hi all

I have searched google for days trying to find simple tutorials on getting MySQL C API to link on VC 9, and finally did.
The tutorial i tried was here: http://zetcode.com/tutorials/mysqlcapitutorial/

The first program ( shows mysql_get_client_info() ) worked, and returned the MySQL version, however the second program (tries to connect to the server and create a database) gave the following error when i run it:

Error 2003: Can't connect to MySQL server on 'localhost' (10061)

Ive googled what the error means, and I havn't found anything on how to fix it.

Im really desperate, as i need to get it working ASAP.
Could anyone please help me get it working?

Options: ReplyQuote


Subject
Views
Written By
Posted
PLEASE HELP!! I cannot get MySQL to work in MSVC++ 9 (2008)
793
August 25, 2010 04:19AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.