title: PhpMyAdmin: 502 Bad Gateway
body: <p>I'm using Vagrant Homestead. Connection to MySQL server works well via MySQL Workbench. But PhpMyAdmin doesn't work. It throws "502 Bad Gateway" everytime with a correct config. Same config for MySQL Workbench and PhpMyAdmin All other php projects work well.</p>
  
  <p>After this:</p>
  
  <pre><code>sudo service php7.3-fpm status
  </code></pre>
  
  <p>I got this:</p>
  
  <pre><code>● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
  
  //some information
  
  Feb 01 13:14:05 homestead phpMyAdmin[8030]: user denied: blahblah (mysql-denied) from 192.168.10.1
  Feb 01 13:16:35 homestead phpMyAdmin[8032]: user denied: blahblah (mysql-denied) from 192.168.10.1
  Feb 01 13:16:37 homestead phpMyAdmin[8330]: user denied: blahblah (mysql-denied) from 192.168.10.1
  Feb 01 13:25:47 homestead phpMyAdmin[8332]: user denied: blahblah (mysql-denied) from 192.168.10.1
  Feb 01 13:29:22 homestead phpMyAdmin[8032]: user denied: blahblah (mysql-denied) from 192.168.10.1
  Feb 01 13:33:15 homestead phpMyAdmin[8644]: user denied: homestead (mysql-denied) from 192.168.10.1
  Feb 01 13:33:16 homestead phpMyAdmin[8648]: user denied: homestead (mysql-denied) from 192.168.10.1
  Feb 01 13:34:05 homestead phpMyAdmin[8644]: user denied: homestead (mysql-denied) from 192.168.10.1
  Feb 01 13:34:53 homestead phpMyAdmin[8644]: user denied: homestead (mysql-denied) from 192.168.10.1
  Feb 01 13:35:14 homestead phpMyAdmin[8670]: user denied: homestead (mysql-denied) from 192.168.10.1
  </code></pre>
  
  <p>How to solve this problem?</p>
  
  <p>Everything works well in Windows, but now I'm using Mac OS. It's not because of nginx config. Because If I replace phpMyAdmin to simple hello world php-file, it will be ok.</p>