Hi!
I've just downloaded the trial versionof mysqlNetmobile2.0 but when I tried to execute the demos, even a piece of testing code I made, I got the messagge "can't connect with 'name_of_mysql_server",
I read that I must use the IP address server instead of the server's name, so I did it, but Im still getting the same error message.
what can I do with this problem?, Im interested in purchasing your software (if its works )
I'd apreciate your help
thanks in advance
connection problem
connection problem
Hi!
I've got the error message when the code tries to open the server connection trough the open metod.
this the code Im trying to execute with no results
'crear una conexion con una base de datos
Dim myCn As New CoreLab.MySql.MySqlConnection
Try
myCn.ConnectionString = "server=192.168.0.1;uid=root;pwd=xxxxx;database=test"
'abrir conexion
myCn.Open() 'here occurs the error
If myCn.State = ConnectionState.Open Then
MessageBox.Show("La conexion de la base de datos ha sido exitosa", "Atención", MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1)
End If
Catch err As CoreLab.MySql.MySqlException
MessageBox.Show(err.Message, "Error")
End Try
Thanks
I've got the error message when the code tries to open the server connection trough the open metod.
this the code Im trying to execute with no results
'crear una conexion con una base de datos
Dim myCn As New CoreLab.MySql.MySqlConnection
Try
myCn.ConnectionString = "server=192.168.0.1;uid=root;pwd=xxxxx;database=test"
'abrir conexion
myCn.Open() 'here occurs the error
If myCn.State = ConnectionState.Open Then
MessageBox.Show("La conexion de la base de datos ha sido exitosa", "Atención", MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1)
End If
Catch err As CoreLab.MySql.MySqlException
MessageBox.Show(err.Message, "Error")
End Try
Thanks