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



2 Replies
rare-sapphire•2y 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•2y ago
@kakdar64
DB_PASSWORD="endpoint=<endpoint id>;<password>"
Endpoint id is found in the first part of the host url