Level 4
@thevuedev am not familiar with sail but I think this link might help https://laracasts.com/discuss/channels/servers/laravel-sail-no-dbdb-user-created
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I run the new project as per the instructions on Laravel's site through docker. But every time I try to connect to the database I get this error "Access denied for user 'sail'@'localhost' (using password: YES)".
I had mysql installed with brew before which I have uninstalled and now trying to access it through the docker container but no luck at all, been googling and trying all sorts of suggestions for ages.
Many thanks for any answers.
Please or to participate in this conversation.