Created a MySql database on pythonAnyWhere. I need to connect to it via a c# application. But the connection fails, after 5-10 seconds it displays the error about the failed connection attempt, because time is up. What is the reason?
The code example.
private void butreg_Click(object sender, EventArgs e)
string connStr = "server=User.mysql.pythonanywhere-services.com;user=User;database=User$DataBase;password="pass";
MySqlConnection conn = new MySqlConnection(connStr);