Delete the previously installed mariadb 1. Use rpm -qa | grep mariadb to search for the existing MariaDB package: If it exists, use [root@localhost ~]# rpm -qa | grep mariadb mariadb-server-5.5.52-1.el7.x86_64 mariadb-libs-5.5.52-1.el7.x86_64 [root@localhost ~]# rpm -e mysql-* Error: Package mysql-* not installed 2. Use rpm -qa | grep mariadb to search for the existing MariaDB package: If it exists, use
Installation command: Copy the code as follows: yum -y install mariadb mariadb-server Start command: Copy the code as follows: systemctl start mariadb Add startup Copy the code as follows: systemctl enable mariadb Simple configuration Copy the code as follows: mysql_secure_installation Enter command line mode mysql -uroot -p Problems encountered Host is not allowed to connect to this MySQL server MySQL does not allow remote login, so remote login fails. The solution is as follows:
Summarize The above is the method and problems encountered in installing mariadb under centos under mysql introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Docker Basic Tutorial: Detailed Explanation of Dockerfile Syntax
>>: How to use Webstorm and Chrome to debug Vue projects
We are not discussing PHP, JSP or .NET environmen...
Today I saw a little trick for HTML text escaping ...
Today I will introduce a small Javascript animati...
Table of contents 1. Generate a certificate 2. En...
Create a simple Spring boot web project Use the i...
Table of contents Preface Code Implementation Ide...
If the field storing the name uses the GBK charac...
Table of contents Preface sql_mode explained The ...
We can create jsx/tsx files directly The project ...
CSS Styles html,body{ width: 100%; height: 100%; ...
This article shares the specific code of the WeCh...
Use JS timer to make an element to make a method ...
When building a B/S system interface, you often en...
There are three date types in MySQL: date(year-mo...
front end css3,filter can not only achieve the gr...