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
This article takes the deployment of Spring boot ...
Preface: Integer is one of the most commonly used...
The blogger hasn't used MySQL for a month or ...
Preparation 1. Start the virtual machine 2. git t...
Preface In LINUX, periodic tasks are usually hand...
During the project development yesterday, I encoun...
<template> <div class="demo"&g...
1. Download MySQL from the official website: This...
Table of contents Background 1. Thought Analysis ...
Basic three-column layout .container{ display: fl...
When the table header is fixed, it needs to be di...
This article example shares the specific code for...
Preface I feel like my mind is empty lately, as I...
Being a web designer is not easy. Not only do you...
In daily work, we may encounter a layout like thi...