1.MySQL version[root@clq system]# mysql -v Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 49 Server version: 5.7.33 MySQL Community Server (GPL) 2. Configure the mysqld.service file[Unit] Description=mysql server daemon After=network.target mysql-keygen.target [Service] Type=forking ExecStart=/usr/local/mysql/support-files/mysql.server start ExecStop=/usr/local/mysql/support-files/mysql.server stop ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target [Install] WantedBy=multi-user.target 3. Where the mysqld.service file is placed/usr/lib/systemd/system/mysqld.service 4. Self-startsystemctl daemon-reload systemctl enable --now mysqld [root@mysql ~]# ss -antl State Recv-Q Send-Q Local Address:Port Peer Address:Port Process LISTEN 0 128 0.0.0.0:111 0.0.0.0:* LISTEN 0 32 192.168.122.1:53 0.0.0.0:* LISTEN 0 128 0.0.0.0:22 0.0.0.0:* LISTEN 0 5 127.0.0.1:631 0.0.0.0:* LISTEN 0 128 [::]:111 [::]:* LISTEN 0 128 [::]:22 [::]:* LISTEN 0 5 [::1]:631 [::]:* LISTEN 0 80 *:3306 *:* The above is the detailed content of the MySQL 5.7 single instance self-starting service configuration process. For more information about the MySQL 5.7 single instance self-starting service configuration, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
<<: Detailed explanation of JavaScript BOM composition and common events
>>: How to use docker compose to build fastDFS file server
Table of contents Preface Setting up slow query l...
Why is NULL so often used? (1) Java's null Nu...
<br />Original text: http://andymao.com/andy...
This article example shares the specific code of ...
1) Process 2) FSImage and Edits Nodenode is the b...
What is an index? An index is a data structure th...
1. Connect to MYSQL Format: mysql -h host address...
Preface I have been busy developing a cold chain ...
Question 1: When entering net start mysql during ...
This article uses an example to describe how to i...
1. Basic steps 1: Install yarn add vue-i18n Creat...
1. es startup command: docker run -itd -e TAKE_FI...
When nginx receives a request, it will first matc...
MySQL is a very powerful relational database. How...
Table of contents 1. Object literals 2. The new k...