MySQL Forums
Forum List  »  Connector/C++

Trouble Connecting to Local Database using Connector/C++
Posted by: Shankha Chaudhuri
Date: July 20, 2009 03:28PM

I am trying to run the example program found

However, I don't seem to be able to connect to my local MySQL database.

For my tcp/ip address, I have been using my tcp://computername:local port

For username, I have been using the database name (I am not sure where to find the user name)

For password, I know this one so this is not the issue.

Is it that I may be using the wrong user name? If so, where can I find it?

Sorry for asking such a stupid question, I am new to databases.

Options: ReplyQuote

Written By
Trouble Connecting to Local Database using Connector/C++
July 20, 2009 03:28PM

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.