Support the ongoing development of Laravel.io →
Configuration
Last updated 1 year ago.
0

Check your connection details are correct in /app/config/database.php

If the database is hosted on another server, make sure the required port(s) are accessible

Last updated 1 year ago.
0

yes .. i do it but still the same problem ...

@elite123

Last updated 1 year ago.
0

it must be problem with the "socket" .. but i dont know how to solve it :/

Last updated 1 year ago.
0

Problem have been solved by using this as host

 localhost;unix_socket=/tmp/mysql5.sock
Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.