|
Problems with mysql and mysql++ examples: msg#00027db.mysql.c++
Hi, I'm new to mysql and would like to use mysql++ to interface to mysql. I'm using the following: mysql++2.1.1 mysql.5.0.27 Visual Studio 2005 XP machine. Ok looks like I installed and built everything OK. Good start. I then wanted to use the examples given in mysql++ user manual. I ran the following: C:\>resetdb localhost garyc password 3306 This gives me a failure: Database connection failed: Error connection DB: Access denied for user 'garyc'@'localhost' to database 'mysql_cpp_data' When I just run: C:\>resetdb localhost The database gets constructed and I can see this by running the executable mysqlshow and see that the mysql_cpp_data does indeed get created. Ok I try to run the simple1 application: C:\simple1 localhost garyc password 3306 It fails. C:\simple1 localhost Also fails in util.c Database connection failed: Error connection DB: Access denied for user 'garyc'@'localhost' to database 'mysql_cpp_data' Any idea of how I can debug this. Its a permission issue I think? Much appreciated, Garyc ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Exception of type std::length_error: 00027, Mathieu Pagé |
|---|---|
| Next by Date: | Re: Problems with mysql and mysql++ examples: 00027, gary clark |
| Previous by Thread: | "quote" manipulator misbehavesi: 00027, Maverick |
| Next by Thread: | Compile Error/Code Issue: 00027, Freyja |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |