I can connect to MySQL database that is running on the server computer using localhost with this
connectionstring = "Host=localhost; database=dbname; user=dbuser; password=dbpassword;"
But I can't connect to this database from another computer using the host's IP address or the default database address (127.0.0.1). This is the connection string to connect to the host computer
connectionstring = "Host=192.168.0.122; Port=3306; database=dbname; user=dbuser; password=dbpassword;"
I get this error;
cannot connect to any of the specified mysql hosts
All privileges are enabled on the database and both computers are on the same network. What do I have to do to connect to the database from another computer? Please help!