Reinstall broken MySql on Mac
Completely Remove MySQL on Mac OS X
You can use those commands (according to The Tech Lab) one by one:
or just run the shell script:
or just put the following command in your terminal:
You can use those commands (according to The Tech Lab) one by one:
or just run the shell script:
or just put the following command in your terminal:
If you have “502 Bad Gateway” error, and see in the Nginx log file located in .valet/Log/nginx-error.log directory the following:
*922 upstream sent too big header while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/Users/username/.valet/valet.sock:"
To solve the problem you need to add these two lines to the Nginx configuration file /usr/local/etc/nginx/nginx.conf :
Valet is a Laravel development environment for Mac minimalists. No Vagrant, no /etc/hosts file. You can even share your sites publicly using local tunnels. Out of the box, Valet supports Drupal. So, lets setup Valet and Drupal.