MySQL Forums
Forum List  »  Connector/C++

Re: Can't connect to DB - error 1045
Posted by: chris chris
Date: February 16, 2010 11:30PM

Well, I found a way to connect using the C API directly.
I followed what is said here:

http://zetcode.com/tutorials/mysqlcapitutorial/
http://c-programming.suite101.com/article.cfm/using_a_mysql_databases_with_c

And here to execute stored procedure:
http://dev.mysql.com/doc/refman/5.1/en/c-api-multiple-queries.html

Hope that helps.

Options: ReplyQuote


Subject
Views
Written By
Posted
7546
February 14, 2010 09:24PM
4195
February 16, 2010 10:38PM
2296
February 16, 2010 10:48PM
Re: Can't connect to DB - error 1045
2531
February 16, 2010 11:30PM
2738
February 17, 2010 10:22AM
2264
February 17, 2010 06:15PM
2435
February 17, 2010 08:27PM
2238
February 17, 2010 09:05PM


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.