MySQL Forums
Forum List  »  Newbie

can't connect to db with mysql++
Posted by: jia li
Date: March 23, 2005 09:00PM

I got a problem when i try to connect to mysql in mysql++ 1.7.32
I installed mysql 4.1 and got the server running as a windowsXP pro service.
I can login to mysql client as below:
mysql -u root -p

then I installed mysql++,complied the library and gave all the directories to visual studio .net.

Then I ran some examples but none worked. I made my own project and ran it. It didn't work either. An error below showed everytime:
connection failed: Access denied for user 'ODBC@'localhost'<using password: NO>

I ran the examples in dos mode with password, it showed:
connection failed: Access denied for user 'ODBC@'localhost'<using password: YES>

I am really a newbie to mysql++.
Please Please help

Options: ReplyQuote


Subject
Written By
Posted
can't connect to db with mysql++
March 23, 2005 09:00PM
March 24, 2005 11:18AM
March 25, 2005 11:49AM
March 25, 2005 12:20PM


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.