MySQL Forums
Forum List  »  MySQL for Visual Studio

Connect Visual Studio with MySQL database using Server Explorer
Posted by: Patrick Blauth
Date: December 04, 2017 05:16AM

Hello,

I would like to connect the Visual Studio (2015) Server Explorer with a MySQL-DB. Having installed the latest MySQL for Visual Studio and Connector/NET, I still get the following error:

"Authentication to host... for user 'admin' using method 'mysql_native_password' failed with message: Access denied for use 'admin@...' (using password: YES)"

When I connect a C#-application in Visual Studio to a MySQL-DB on the same server through commands, e.g.

MySqlConnection conn = null;
conn = new MySqlConnection();
conn.ConnectionString = getConnection();

that and the following queries work just fine.

What do I have to do to create a connection with the Server Explorer, please?

Options: ReplyQuote


Subject
Views
Written By
Posted
Connect Visual Studio with MySQL database using Server Explorer
46
December 04, 2017 05:16AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.