虚拟机里的MariaDB忘记密码了,连接不上,只能重置MariaDB的密码,步骤参考网络 [root@localhost ~]# mysql -uroot -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) [root@localhost ~]# mysql -uroot -p Enter password: ERROR 1045 (28000
cd usr/local/mysql/mysql5.6/bin [root@iZ2ze6yx6b47rdx0vccs5iZ bin]# service mysql-libs-5.1.73-8.el6_8.x86_64 startmysql-libs-5.1.73-8.el6_8.x86_64: unrecognized service[root@iZ2ze6yx6b47rdx0vccs5iZ bin]# service mysql startmysql: unrecognized service