memberi pengguna semua hak istimewa
mysql> GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
Thoughtful Trout
mysql> GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
GRANT ALL PRIVILEGES TO username;