I am unable to connect to laravel homestead via mysql workbench

here is how i connected

Homestead Connection http://simple.harry.zone/linux/homestead_connect.png

but i am facing the below issue

Homestead Issue http://simple.harry.zone/linux/homestead_issue.png


Here are the details as requested by Gerath in the comments below

1 : The server is running in localhost, only

2.) The homestead server is using 33060 port virtually ( 3306 as guest, and 33060 as host )

3.) I am not sure

4.) he username and password for databases is homestead / secret which is default in laravel homestead .

Here is the details for pt 1 and 2

Homestead Port http://simple.harry.zone/linux/homestead_port.png

  • Have you tried the 4 points in the popup window? What was the outcome? You don't have a specific question here (they end in question marks - ?) Also Plz Plz help me !!! doesn't help :-) – garethTheRed Jun 12 '16 at 10:47
  • Hey @garethTheRed, i have edited the details , plz see – Harry Jun 12 '16 at 14:09

I Solved the problem myself , the mistake was that i was not running it as adminstrator

sudo mysql-workbench

worked perfectly for me !

  • You may find that you can connect as a normal user if you follow this answer: dba.stackexchange.com/a/3496. I haven't got mysql-workbench on my laptop, so I can't check for you. – garethTheRed Jun 12 '16 at 17:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.