Professional Documents
Culture Documents
Useradministration
Useradministration
IDENTIFIED BY 'p@ssw0rd';
allow user to connect from any host you use the % wildcard, which means any host.
CREATE USER superadmin@'%'
IDENTIFIED BY 'p@ssw0rd';
UPDATE user
SET password = PASSWORD('p@ssw0rd1234')
WHERE user = 'dbadmin' AND
host = 'localhost';
FLUSH PRIVILEGES;
FLUSH PRIVILEGES statement to reload privileges from the grant table in the mysql
database.
use mysql;