Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
Im developing a vb.net application with mysql database. Its working well when I tested it using db4free.net. Here is the Code:

If myConnection.State = ConnectionState.Closed Then
myConnection.ConnectionString="server=db4free.net;port:3306;uid=myuserid;password=mypass;
database=mydb;"
myConnection.Open()
myCommand.Connection = myConnection

Now I purchased host via GODADDY and its no longer working. I have here the following code and I got some errors:

myConnection.ConnectionString = "Server=gnmsbusinesssolution.com;port:3306;uid=myuserid;
password=mypass;database=mydb;"


Error:Authentication to host 'gnmsbusinesssolution.com' for user 'myuserid' using method 'mysql_native_password' failed with message: Access denied for user 'myuserid'@112.198.75.129; (using password: YES)

Can you please help me how to find a solution for this thing? thank you very much.

What I have tried:

I already read some threads relating to this but it seems no one had solve it yet
Posted
Updated 3-Mar-16 5:07am
Comments
Michael_Davies 3-Mar-16 11:09am    
Have you set up correctly:

https://uk.godaddy.com/help/find-your-connection-strings-3323
Member 10461860 4-Mar-16 1:00am    
their example is far different as im using visual basic .net .I cant figure out as its working on other free hosting like db4free
Michael_Davies 4-Mar-16 2:32am    
If you do not follow GoDaddy's instruction then expect it not to work, try it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900