Connection error - VBA/MySQL

Trying to connect to a remote, hosted database from VBA.  Worked at one time.

Using this connection string:

con.ConnectionString = "DRIVER={MySQL ODBC 5.2 ANSI Driver};" & "SERVER=mysql3.xx.com;" & " DATABASE=xx;" & "UID=xx;PWD=xx; "

I'm getting the error below.  Again, this is a hosted site.  I don't think I have total control to just modify users.

mysql connection using old (pre-4.1.1) authentication protocol refused
patriotpacerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Is the host Hurricane Electric?  I have that problem with them because they have kept the old authentication methods to 'avoid breaking old web sites'.  Worse yet, I just downloaded the MySQL 5.2 ODBC connector and it removed the MySQL 5.1 ODBC connecter and broke my code in several files.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPDesigner and DeveloperCommented:
I would also recommend checking with support for the hoisting providers to see if anything has changed.

I also use this for managing remote mySQl Servers: http://www.heidisql.com/  It can be used to test your connection.
0
patriotpacerAuthor Commented:
>>Is the host Hurricane Electric?

gearhost.com - trying to help out a friend on this one.  I think they upgraded their servers.


>>http://www.heidisql.com/

link not loading
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Boyd (HiTechCoach) Trimmell, Microsoft Access MVPDesigner and DeveloperCommented:
The link you posted worked for me.

Try a web search for heidisql to see if that will provide a link will work for you.
0
patriotpacerAuthor Commented:
I went back to an older driver.  All working.

I guess I made the assumption the latest MySQL driver would work.

I appreciate the comments and help
0
patriotpacerAuthor Commented:
I'm accepting answers because (1) nothing had changed and required the old driver and (2) the statement below gave indication that an issue might be the new driver and resort to the old.

>>MySQL 5.2 ODBC connector and it removed the MySQL 5.1 ODBC connecter and broke my code in several files.
0
Dave BaldwinFixer of ProblemsCommented:
Thanks for the points.  I sent an email to Oracle/MySQL complaining about the new driver breaking the old one.  All I got back was an automated response.
0
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPDesigner and DeveloperCommented:
About the ODBC driver 5.2.x, you need to be sure you use the correct bit version.

The key is whether your ODBC client application -- the software that's going to use the data -- is it 32-bit or 64-bit.

Since Windows 7 64-bit  supports both 32-bit and 64-bit applications. 32-bit applications can only use 32-bit drivers; 64-bit applications can only use 64-bit drivers.

You need to match the bits of the driver to Office/Access 32 or 64 bit, not the version of Windows.

Office/Access 2010/2013 64 bit needs the 64 bit Driver

Office/Access 2010/2013 32 needs the 32 bit Driver.

Office/Access 2007 and earlier need the 32-bit version.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.