Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Sand_Hawk

mySQL refuses connection on existing user

This topic is 5921 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a major problem with my project. I have created an ODBC datasource and try to connect to the SQL server with it. But it fails all the time. To make sure it worked I tried logging in at the mySQL console. When I login with User Posthuis (Password = password) it refuses connection. I have set up the user with full rights, except Grant option from host %. In theory, the user should be able to login from any host. Why is the connection still refused? Sand Hawk ---------------- -Earth is 98% full. Please delete anybody you can.

Share this post


Link to post
Share on other sites
Advertisement
Hi, I''m working on MySQL project connected project
I don''t know how it is working through ODBC, but it is pretty easy to create your own class for working directly with MySQL API.
Anyway, to get access to MySQL'' DB u should write user info in mysql.user table, then specify all rights for him for special DB in mysql.db & don''t forget to RELOAD mysql privillegies table

Lekha

Share this post


Link to post
Share on other sites
Weird, I just killed the user for the 6th time and recreated it and it works now. I use mySQL front to create the tables and users so the reloading is done automatic by the program. And I use VB to write teh program because school refuses to provide us with a decent C++ visual compiler.

Sand Hawk


----------------
-Earth is 98% full. Please delete anybody you can.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!