I have a website using PHP and MySQL Database that hosting ready. I want to upload data to website by using windows application using VB.net but I cannot connect to database. I try this code to connect to Mysql database:
Dim conn As MySqlConnection
conn = New MySqlConnection()
conn.ConnectionString = "Host=www.mydomain.com; user=test; password=****; database=test;pooling=false"
Try
conn.Open()
Catch myerror As MySqlException
MsgBox("Error connecting to database! " & myerror.Message)
End Try
This is message error:
"Error connection to database! Access denied for user 'test'@114.134.189.135' (using password: YES)".
Please help me to solve it.