systemctl stop mysql
mysqld --user=mysql --skip-grant-tables &
mysql
insert into mysql.user(Host,User,Password) values("localhost","test",password("1234"));
flush privileges;
systemctl stop mysql
mysqld --user=mysql --skip-grant-tables &
mysql
insert into mysql.user(Host,User,Password) values("localhost","test",password("1234"));
flush privileges;