2019-05-14 09:26:57 0 Comments MySQL Boy.Lee

MySQL 5.7.26 Reset Root Password on Centos 6

MySQL 5.7.26 Reset Root Password on Centos 6, I lost my root password with a mysql error, so I have to reset it, the server is Centos 6 and mysql 5.7.26, follow are the steps
2016-12-13 10:24:40 0 Comments Linux Boy.Lee

Centos 6.4 forbid Root account remote login by ssh

For safety thinking, in production environment need forbid root accout remote login by ssh, usually will use one random normal account for login and switch to root after login. This topic show how to forbid root account remote login by ssh

Mac os 10.11(El Capitan) Switch to root account

In Mac os 10.11(El Capitan) , using the follow command to switch root account