设置MariaDB用户密码不过期

mysql -uroot -p

MariaDB [(none)]> select User, host from mysql.user;
+————-+———–+
| User | Host |
+————-+———–+
| root | % |
| mariadb.sys | localhost |
| root | localhost |
+————-+———–+

alter user ‘root’@’%’ identified by ‘wordpress’ password expire never;

发表评论

沪ICP备15048782号-1