VS or MySQL adds a new user entry into mysql.user with no pe
VS or MySQL adds a new user entry into mysql.user with no pe
After working in VS 2005 and Core Lab Developer Tools 1.70 I will receive an error that user [email protected] cannot connect. This user is somehow added to MySQL's user table while I am working with VS. The normal entries I have in the user table are where the host has "localhost" or "%". The entry with my machine name is added dynamically during my work session with VS.
Does anyone have a solution for this?
Thanks,
Dave
Does anyone have a solution for this?
Thanks,
Dave
I have worked with MySQL for a long time without issue. In my MySQL DB, in the mysql database and the user table I have two entries. One is for a localhost and the other is for remote hosts. The remote host entry has "%" in the host field to indicate that from any box I as a user will use those permissions.
What happens in this scenario is that I am working in Visual Studio and I connect to MySQL in the DB tools that allows me to retrive data, edit stored procedures and so on. After some undetermined amount of time I will no longer be able to work in Visual Studio and look at the data. I then get on MySQL as a different user, root, and check for the entries in the mysql.user table and I will find an entry for myself at a machine address without any privileges.
It looks to be adding this entry dynamically to MySQL, it is not something that I or anyone else added manually and it only happens using Visual Studio.
What happens in this scenario is that I am working in Visual Studio and I connect to MySQL in the DB tools that allows me to retrive data, edit stored procedures and so on. After some undetermined amount of time I will no longer be able to work in Visual Studio and look at the data. I then get on MySQL as a different user, root, and check for the entries in the mysql.user table and I will find an entry for myself at a machine address without any privileges.
It looks to be adding this entry dynamically to MySQL, it is not something that I or anyone else added manually and it only happens using Visual Studio.
Sorry. To my astonishment after removing the MySQLDirect .net data provider DBExplorer still worked.
I am now guessing that this points to the "Core Lab MySQL Developer Tools"?
Is then the data provider the class files that are then linked with any developed application?
Do you require me to work without the data provider until this issues shows again?
I am now guessing that this points to the "Core Lab MySQL Developer Tools"?
Is then the data provider the class files that are then linked with any developed application?
Do you require me to work without the data provider until this issues shows again?
Yes. I was able to reproduce the issue without MySQL Direct. Another fact of this is ...
1. I first connect successfully with user - " 'daki'@'%' "
2. After working with DBExplorer for a while I get a lost connection alert.
3. I then go to connect again and then I get an error saying I cannot connect with " 'daki'@'uszgi0060.zgi.com' ".
This user 'daki'@uszgi0060.zgi.com' is now in the user table without any permissions and without a password which was not entered by any person but solely thru the interaction of VisualStudio-dbexplorer and MySQL 5.0.
1. I first connect successfully with user - " 'daki'@'%' "
2. After working with DBExplorer for a while I get a lost connection alert.
3. I then go to connect again and then I get an error saying I cannot connect with " 'daki'@'uszgi0060.zgi.com' ".
This user 'daki'@uszgi0060.zgi.com' is now in the user table without any permissions and without a password which was not entered by any person but solely thru the interaction of VisualStudio-dbexplorer and MySQL 5.0.