mercredi 5 août 2015

How can I connect to a MySQL server on another computer?


Here I have some problem to connect to a MySQL server from another computer to my computer. I would like to use VB.net C# language to solve the problem.

Previously I used the following program to connect to a MySQL server from another computer to my computer, but this is not working anymore. Can anyone help me?

server = "192.168.8.124";
database = "Testing";
uid = "";
password = "1234";
string connectionString;
connectionString = "SERVER=" + server + "; PORT = 3306 ;" + "DATABASE=" + database + ";" + "UID=" + uid + ";" + "PASSWORD=" + password + ";";
mycon = new MySqlConnection(connectionString);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire