Answers for "mysql delete root user"

SQL
1

mysql remove user privileges

REVOKE ALL PRIVILEGES ON database_name.* FROM 'username'@'host';
OR 
DROP USER 'username'@'host';
Posted by: Guest on February-09-2021
-2

remove root password mysql

mysqladmin -u root -pType_in_your_current_password_here password ''
Posted by: Guest on March-03-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language