Hi,
I'm using connextor NET 6.8.3 and framework .NET 4. I wich to connect to a mysql database, I try this :
Imports System.Data.Sql
Imports System.Data.SqlClient
Imports MySql.Data
Imports MySql.Data.MySqlClient
Public Class Test
Public Sub Connexion()
Dim connStr As String = "SERVER=localhost;DATABASE=GestionDuPersonnel;UID=test;PASSWORD=test"
Dim connection As New MySqlConnection(connStr)
connection.Open()
End Sub
End Class
But I have an error message which is : "Authentication to host 'localhost' for user 'test' using method 'mysql_native_password' failed with message: Access denied for user 'test'@'localhost' (using password: YES)"
But I put a password in connexion string so what happend ?
Thanks
I'm using connextor NET 6.8.3 and framework .NET 4. I wich to connect to a mysql database, I try this :
Imports System.Data.Sql
Imports System.Data.SqlClient
Imports MySql.Data
Imports MySql.Data.MySqlClient
Public Class Test
Public Sub Connexion()
Dim connStr As String = "SERVER=localhost;DATABASE=GestionDuPersonnel;UID=test;PASSWORD=test"
Dim connection As New MySqlConnection(connStr)
connection.Open()
End Sub
End Class
But I have an error message which is : "Authentication to host 'localhost' for user 'test' using method 'mysql_native_password' failed with message: Access denied for user 'test'@'localhost' (using password: YES)"
But I put a password in connexion string so what happend ?
Thanks