I have problems connecting MySQL to Drupal 7, it turns out that I have MySQL installed on a separate server with IP: 192.168.0.5 port 3306 with a database with a drupal name and a user with a drupal name. My Drupal 7 is installed on a machine with IP: 192.168.0.40, at the time of installing and configuring the connection to the database I get the following error:
Failed to connect to your database server. The server reports the following message: SQLSTATE [HY000] [2003] Can not connect to MySQL server on '192.168.0.5' (13).
these are the data I use for the connection:
I do not know how to solve that error.