4 months ago

Can't connect to database with db client [08001]

Posted 4 months ago by knubbe

I am using laravel homestead on linux and when I want to connect to database with phpstorm or DBeaver I receive:

[08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Index 5 out of bounds for length 5.

I investigate and find that problem could be with jdbc driver but all of my drivers are up to date. On homestead I use mysql 5.7 and both (phpstrom and DBeaver) are up to date.

Please sign in or create an account to participate in this conversation.