N
Neon2y ago
correct-apricot

Help: How to connect laravel project to database ?

I have this error in my console when migrating tables. this is my laravel setup Sorry for my english, thank you
No description
No description
No description
2 Replies
rare-sapphire
rare-sapphire2y ago
Hey, I suspect you are using a PDO driver that has an older version of libpq. Please try the workaround described on this Discourse page: https://community.neon.tech/t/cant-resolve-hostname-on-laravel/917/8
Neon
Can't resolve hostname on Laravel
Could you provide an example? I think that I already tried that.
wise-white
wise-white2y ago
@kakdar64 DB_PASSWORD="endpoint=<endpoint id>;<password>" Endpoint id is found in the first part of the host url

Did you find this page helpful?