3/13/2024 0 Comments Yum install rpm mysqlReset the password: SET PASSWORD = PASSWORD('admin') ġ3.Open remote landing: Grant all privileges on *.* to identified by 'admin' with grant option ġ4.Refresh the permission list: FLUSH PRIVILEGES ĭetermine the system version / ] # cat /proc/version Mysqld_safe -user=mysql -skip-grant-tables -skip-networking &ħ.Get into mysql Terminal: mysql -u root mysqlĨ.Set the password: UPDATE user SET Password=PASSWORD('admin') where USER='root' and host='root' or host='localhost' ġ1.restart mysql: /etc/init.d/mysql restartġ2 Reusing the new password mysql -uroot -pġ3. If there is a dependency when rpm is deleted, you can use yum remove + package name to delete mariadbģ.View installed mysql rpm -qa |grep mysqlĤ.Delete installed mysql rpm -e mysql-libs-5.1.86_64 -nodepsĥ.Install our own rpm package rpm -ivh *.rpmĦ.Set up mysql Of root Password, start in the background first mysql cd /usr/lib You can see that deleting with RPM will fail, suggesting that dependent software needs to be installed.It needs to be cleaned up, cleaned up the mariadb package, rpm -e with the package name, and cleaned up the mariadb package. Rpm -qa | grep -i mariadb(centos7 The default system comes with) Clean up the environment, centos7 will bring a mariadb with it to see if it is installed.Select the ones in mysql community server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |