Can't Connect mySQL database using LAN (C# Winform application) -


i'm building winform application c# lang , mysql database. there's 3 computer work with.

1st computer connected lan network (static ip address), creates hotspot connect*fy app, , mysql database server

2nd computer connect 1st computer wirelesslan, connect connect*fy app

3rd computer connect 1st computer lan cable (static ip address)

i can connect 1st , 2nd computer. when try 3rd computer showing message "unable connect specified mysql host"

connection strings used

        string user = "koas";         string password = "poipoi";         string database = "bke_nota_db";         string host = "10.20.10.129";          mysqlconnection conn = new mysqlconnection("server=" + host +                                         ";database=" + database +                                         ";username=" + user +                                         ";password=" + password +                                          ";port = 3306" +                                         ";"); 

server's ip address used 1st computer static ip adress connect lan.

what should do?


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -