[Resolved] Faile to connect to MySQL


I do first installation of Nextcloud. Application server is different from DBserver. I get following message when I try finishing setup :

Error while trying to create admin user : failed to connect to the database : an exception occured in driver : SQLSTATE[HY000][2002] php_network_getadresses getaddrinfo failed: No address associated with hostname

I’ve no problem to make connection with other applications to DB.

I run debian 8.1, apache 2.4.10, php7, MySQL server 5.5
Thank for your help.

I solved issue by adding Satisfy Any in the apache.conf file