ubuntu , allow root to login mysql without sudo

mysql > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';
mysql > FLUSH PRIVILEGES;

Leave a Reply

Your email address will not be published. Required fields are marked *