Connexion string connector NET 6.8.3 / vbnet
Posted by: Rémi Hernandez
Date: April 09, 2014 01:38AM

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

Options: ReplyQuote


Subject
Written By
Posted
Connexion string connector NET 6.8.3 / vbnet
April 09, 2014 01:38AM


Sorry, you can't reply to this topic. It has been closed.

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.