Connect mysql to drupal 7

0

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.

    
asked by felipe caro 14.03.2018 в 15:31
source

1 answer

0

The range of problems you can have is very wide. But seeing the error for a connectivity issue.

Start by throwing a ping from one machine to another. If the result is correct, send a telnet command to port 3306 of the database machine.

Depending on the result you get from these tests you will have to take some or other measures.

    
answered by 14.03.2018 в 16:17