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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -