Answers for "sqlstate[hy000] [1045] access denied for user 'jakob'@'localhost' (using password: yes) (sql: select * from information_schema.tables where table_schema = ny_stuff_inte_sail and table_name = migrations and table_type = 'base table')"

SQL
2

SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' (SQL: select * from information_schema.tables where table_schema = whatsapp and table_name = migrations and table_type = 'BASE TABLE')

$ sudo mysql -u root -p
Now you can add a new MySQL user with the username of your choice.

mysql> CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
And finally grant superuser privileges to the user you just created.

mysql> GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';

after that go and edit .env DB_USERNAME=newuser
DB_PASSWORD=password
Posted by: Guest on December-18-2020

Code answers related to "sqlstate[hy000] [1045] access denied for user 'jakob'@'localhost' (using password: yes) (sql: select * from information_schema.tables where table_schema = ny_stuff_inte_sail and table_name = migrations and table_type = 'base table')"

Code answers related to "SQL"

Browse Popular Code Answers by Language