Ответ:https://www.percona.com/blog/2016/03/16/change-user-password-in-mysql-5-7-with-plugin-auth_socket/:
Apparently the mysql-server installation on 16.04 (or any 5.7 installation?) allows root access not through password, but through the auth_socket plugin. Running sudo mysql -u root (n.b. w/o a password) will give you mysql console whereas running the command as non-root prompts you for a password.
It would seem that changing the password doesn't make much of a difference since the auth backend doesn't even check for a password.
Чтобы отключить этот подключаемый модуль сокета авторизации _, в командной строке mysql выполните
update mysql.user set plugin=null where user='root';
flush privileges;
Это заставляет MariaDB также запрашивать пароль для root [Linux].
Спасибо jesse -b и derobert за -подробное обсуждение и ваши ответы.
версия 4.0.1 очень старая:)
creation timestamp
— специальный патч для Debian
источник:
поскольку число является pid экрана, вы можете использовать ps для отображения времени запуска одного процесса.
ps -o lstart= -p 21628
Fri Nov 22 18:49:50 2019