delete root user mysql code example
Example 1: mysql remove user privileges
REVOKE ALL PRIVILEGES ON database_name.* FROM 'username'@'host';
OR
DROP USER 'username'@'host';
Example 2: remove root password mysql
mysqladmin -u root -pType_in_your_current_password_here password ''