Problem conection to database

Posted 2 months ago by vandyczech

I have Laravel 5.4 on Ubuntu 16.04 with MariaDb, but I cant connect to the db. I see SQLSTATE[HY000] [1698] Access denied for user 'homestead'@'localhost' error, but in .env i have another data then is right ... Where I can rewrite them ... ? Right place for the database configuration is .env thats right?

DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3307 DB_DATABASE=dokumenty DB_USERNAME=phpmyadmin DB_PASSWORD=petr

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.