System environment: centos7.4 1. Check whether the database is installed: Second, install the yum source RPM resource package of the centos7 system with the mysql5.6 installation package: rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm yum clean all yum repolist 3. Install msyql5.6: Fourth, start the service: systemctl start mysqld systemctl enable mysqld 5. Reset password: It depends on the specific situation (can be omitted, log in without password) #mysql_secure_installation Set root password? [Y/n] y [Set root user password] Remove anonymous users? [Y/n] y [Remove anonymous users] Disallow root login remotely? [Y/n] n [Disallow root login remotely] Remove test database and access to it? [Y/n] y [Delete test database] Reload privilege tables now? [Y/n] y [Refresh privileges] 6. Check the mysql version: mysql -V mysql Ver 14.14 Distrib 5.6.39, for Linux (x86_64) using EditLine wrapper 7. Verification: (no password) 8. Set password and remote permissions Database password setting: # 9. Configure the firewall You may also be interested in:
|
<<: The latest popular script Autojs source code sharing
>>: Analysis and description of network configuration files under Ubuntu system
Installation sequence rpm -ivh mysql-community-co...
ModSecurity is a powerful packet filtering tool t...
I came into contact with CSS a long time ago, but...
I won't go into details about how important b...
Table of contents 1. Download MySQL 2. Unzip the ...
After the release of CentOS8.0-1905, we tried to ...
Table of contents What is VUE Core plugins in Vue...
In this post, we’ll use the :placeholder-shown ps...
First, let’s understand what Docker is? Docker is...
Detailed analysis of SQL execution steps Let'...
Table of contents 1. Install axios 2. Use of axio...
The front-end and back-end projects are separated...
Table of contents The first The second Native Js ...
Table of contents 1. A simplest server-side examp...
Preface It is very simple to create a server in n...