mysql ubnutu not logging code example
Example 1: mysql change root mysql_native_password
UPDATE
mysql.user
SET
plugin = 'mysql_native_password',
Password = PASSWORD('')
WHERE
User = 'root';
Example 2: how to login to mysql as normal user in ubuntu
mysql -u newuser -p