I'm trying to run WorPress locally on the Mac, this to work on the site and then promptly upload to the server.
MySQL is installed on the MAC in /usr/local/mysql-5.7.17-macos10.12-x86_64/ is accessed via console and is in localhost: 3306.
Apache is 2.4.25 and PHP 5.6.30, I am using those already installed on the MAC, it is fully functional in the / Users / MyUsuario / ApacheService / PastaWordpress folder where Wordpress is opened to configure BD.
I like this configuration because it is clean and already intrinsic in MAC.
The problem is that to use Wordpress does not find the Mysql host to configure the DB created. I have tried all my knowledge.