1
I am developing a system that will access the Mysql database only to query data. I referenced the mysql.data.dll
and I’m using access through Mysqlconnection.
It turns out that the system is returning the following error:
Access Denied for user 'meuusuario....'
The interesting thing is that I can access the same database with the same user through Sqlyog, but I can not through . net.
It would be some configuration in the user inside Mysql to accept the access ?
Provide your connection class or @Silva routine
– user6026
Thanks for the @Harry Potter reply. I’m new around here... How do I include my class without exceeding the size of the comment ?
– Silva
You can edit your question by putting it at the right point and pressing the {} of the editor
– user6026
This user has password?
– user6026
If the database is running on an IP other than your application check if you can get external access to your database and if your user is allowed to access the database. And check the Mysql log. There is a question about Mysql access issues at http://answall.com/questions/17597/acesso-remoto-mysql-servor-amazon/22964#22964, you can find procedures for configuring Mysql for external access (if this is the case).
– Sileno Brito