Answers for "You are not allowed to connect to that database error in MySql Ubuntu how to fix that"

SQL
3

host is not allowed to connect to this mysql server

CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' WITH GRANT OPTION;

CREATE USER 'username'@'%' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' WITH GRANT OPTION;

FLUSH PRIVILEGES;
Posted by: Guest on August-21-2020

Code answers related to "You are not allowed to connect to that database error in MySql Ubuntu how to fix that"

Code answers related to "SQL"

Browse Popular Code Answers by Language