Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

NatwanTilembar's avatar

Laravel forge database issue

I have a problem connecting to the Laravel Forge database. I've imported a project from my GitHub repository, and provided Forge with GitHub token. I can SSH into server, but if I try to run migrations I get error:

[PDOException] SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: YES) Which is somehow expected since I didn't get database password. For servers before I used to got a mail with all the necessary data, but not on this one. And now I don't know what credentials to use?

Is there a workaround or something to get this working?

0 likes
1 reply

Please or to participate in this conversation.