
To fix the problem where MySQL will only accept connections from localhost we need to find the following line in our default.

There are two reasons for this, the first is that by default MySQL is setup to only accept connections from the localhost and the second is that the user created by Puppet can only access the site though local connections or remote connections (it's a slight flaw in the MySQL defaults) but not both. One of the things that I don't like about it is the fact that you can't access your VMs databases using native tools like MySQL Workbench and Sequel Pro. Your MySQL client will connect to your database, and you can manage your WordPress database securely, and with ease, using the tools and features. With the connection configurations completed, you can now click connect. Im having trouble connecting to a MySQL 4 or MySQL 5 database on localhost with a MAMP install. In Sequel Pro the SSH Password field has been replaced with a completed input field showing the location of my private key.
SEQUEL PRO CONNECT TO LOCALHOST INSTALL
With a fresh install using WordOps I kept getting a MySQL said: Access denied for user username127.0.0.1 (using password: YES) even after double checking that the credentials were. With EasyEngine 3 connecting to my database over SSH worked right out of the box. As I see from the screenshot, you are trying to connect to port 3000. I prefer to use a GUI MySQL client like Sequel Pro for doing database tasks. The user isnt the only user for the mysql account but it is the only user for the database Im trying to use and setting the host to 127.0.0.1 in the database.php file changes nothing for me. It seemed simple enough to connect to the database using the Sequel Pro GUI.

if you install it via brew cask install sequel-pro. by the command: brew cask uninstall sequel-pro. you can access the mariadb database from your host at localhost:32787. Find another FREE alternative, I went with Valentina Studio for the mongodb/nosql support. Click ''Add to Favorites'' to save the connection for use next time you open Sequel Pro. To connect to your databases you have to fill in several required fields. Sequel Pro will create the SSH tunnel using that key. If your MAMP PRO download package did not come with Sequel Pro you can download it here. In case you already have a SSH key saved on the remote machine, you can leave the SSH password field empty.

Thanks for the suggestions I will play with this now and get back to you. of this are accessing a SQL database through a GUI client like SequelPro. If you enter no SSH port on a SSH connection, Sequel Pro uses the default port for SSH, port 22.
SEQUEL PRO CONNECT TO LOCALHOST UPDATE
I love how convent PuPHPet makes setting up a Vagrant VM. Or, just update from localhost to 127.0.0.1 in the database.php.
