Re: Can't connect to DB - error 1045
Posted by:
Joe Blow
Date: February 16, 2010 10:38PM
Just started working with Connector/C++ on Win32 and i'm having the exact same problem. went so far as uninstalling everything MySql related, then reinstalling several things:
mysql-5.1.43-win32.msi
mysql-connector-odbc-5.1.6-win32.msi
mysql-connector-c-6.0.2-win32.msi
mysql-connector-c++-1.0.5-win32.msi
The application i was writing was throwing HY000 2006 exceptions when trying to execute a CREATE TABLE statement so i decided to test the sample code from the MySql website. It does what Chris said - gets the driver instance then tries to create a connection - but it always seems to fail with the Access Denied exception.
DRIVING ME CRAZY
Which libmysql.dll should be used in this case? There is one in the Server 5.1 bin folder and one in the Connector/C folder? They are different sizes. I tried both and got same result.
Please help.
Thanks a lot,
Joe
lowpolyjoe@yahoo.com
Subject
Views
Written By
Posted
7546
February 14, 2010 09:24PM
Re: Can't connect to DB - error 1045
4194
February 16, 2010 10:38PM
2296
February 16, 2010 10:48PM
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.