I am trying to practice sql with a free host, but although I have correctly put all the connection data, the delay time to connect seems to be too much and my localhost sends me the following message: "Warning: mysqli_connect (): (HY000 / 2002): Expired connection time in / opt / lampp / htdocs / PHP and SQL / practice / press.php on line 30"
I want to know if it is my mistake, or because the hosting is free the connection to the database is very slow and php paralyzes it ... it is worth mentioning that this does not happen to me when I practice in the premises, where everything works perfectly