Adeeb Twait
Adeeb Twait

Reputation: 11

Mysql workbench system error : 0

I'm working on laravel project (for the first time), And I want to use MySQL workbench for database. But when I set my settings

host: 127.0.0.1
port: 33060
user: homestead
pass: secret

I got this error:

Lost connection to MySQL server at 'reading initial communication packet, system error: 0

What can I do?

Note : I'm using windows 10

UPDATE #1 : Mysql workbench worked with these settings : Mysql workbench

But I got an error when i tried to make (php artisan migrate) Php artisan migrate error

This is a screen shot from my .env file:

.env file

Upvotes: 0

Views: 2354

Answers (2)

Adeeb Twait
Adeeb Twait

Reputation: 11

I Solved the problem by doing vagrant up and using the port 3306

Upvotes: 1

Mike Lischke
Mike Lischke

Reputation: 53337

You are using the wrong port. 33060 is the default port for the new X protocol. MySQL Workbench however only uses the classic protocol atm.

Upvotes: 0

Related Questions