Be sure to use forge user, not root!
Jan 3, 2023
1
Level 1
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?
Please or to participate in this conversation.