Dear Master,
Connecting string that i used is
string conn = "Server=192.168.56.102;protocol=3306;UID=root;PWD=1234;Database=mydb";
MySql.Data.MySqlClient.MySqlConnection cn = new MySql.Data.MySqlClient.MySqlConnection();
cn.ConnectionString = conn;
but with code above, I can't connect to server CentOS 7 "MariaDB Server". the message error unable connect to any mysql. and after i disable firewall on each machine, the error message is " authenticate for user ....."
note :
- I have disable all firewall On client and server to take a look "connect or not"
- I used code with php as web application interface, the connection is established and success.
- VS 2012 C#, connector using mysql-connector net 6.8.3
- Connection only use LAN(peer to peer)
-
please help me.