Jump to content

MySQL GUI Tools Username Problem


SeanFromIT

Recommended Posts

Does anyone know how to stop the MySQL GUI tools from adding @yourhostname to the username that you type in the prompt?

Example: I type in correct username "user"

MySQL GUI Tools Connection errors out saying "[email protected] denied"

The denial is coming from the fact that it's adding @blahblah to my username.
Link to comment
https://forums.phpfreaks.com/topic/35079-mysql-gui-tools-username-problem/
Share on other sites

[quote]The denial is coming from the fact that it's adding @blahblah to my username.[/quote]

No it's not, the problem is that your MySQL user table does not match the user. MySQL will always include @remote_host in the error or connection information. It has nothing to do with the real problem. If you setup a user, and that user is going to connect remotely, then you need to set the 'user' [b]Host[/b], to the [b]IP[/b] that will be connecting to the MySQL server. If the [b]IP[/b] is dynamic, or could change, then use [code]%[/code] a percent sign in the MySQL 'user' table column [code]Host[/code]. So any IP can connect, as long as they know the correct username and password!


printf

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.