connect 2 pc to the same database through mysql xampp

0

I have a desktop application programmed in c # and I need 2 pc to connect to the same database through the local network created from an android device.

pc with the application (client): 192.168.43.181

pc with the BBDD: 192.168.43.172

change the configuration line of my.ini

# Change here for bind listening
# bind-address = 0.0.0.0 
# bind-address = ::1          # for ipv6

create a new user

Usuario : sebastian
Host : 192.168.43.181 (IP del cliente)
Password : yyyyy

cadena de conexion(cliente)
string conString = "server=192.168.43.172; database=nestrada; Uid=sebastian; pwd=yyyyy;";

but the client PC can not connect.

    
asked by sebastian bizama inostroza 29.11.2017 в 04:17
source

0 answers