MySQL – create user and grant all privileges
Posted on: October 24, 2010 /
Categories: MySQL
Create user with mysql command:
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
Add all privilleges to databases for user:
GRANT ALL ON *.* TO 'username'@'localhost';