Today I faced hard time while trying to use sequel pro to mysql homestead on macbook pro running on El capitan using Vmware Fusion

I tried using the following details to connect to Homestead mysql server

Screen Shot 2016-04-12 at 11.38.12 PM

Which always failed with message

Unable to connect to host 127.0.0.1, or the request timed out.
 Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).
 MySQL said: Can't connect to MySQL server on '127.0.0.1' (4)

After doing some google search I found the following and the issue was fixed

SSH into the homestead box

Vi /etc/mysql/my.cnf

Add the following under

[mysqld]
 skip-name-resolve

If this does not solve the problem for you, please try the following to fix a bug with vmware fusion

Workaround for the NAT port forwarding issue in Fusion 8.1

Steps:

Download the NAT network component from https://www.vmware.com/go/dl_vmnet-natd (MD5: e347f5c8d86640af5102852c897e31cc)
Replace /Applications/VMware\ Fusion.app/Contents/Library/vmnet-natd with the file downloaded in step 1.
Restart the NAT network with the following commands:

Sequel Pro Connection issue to Mysql on Laravel Homestead -El Capitan Macbook-vmware fusion
Tagged on:                             

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.