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
Web design and development is hard work, so don...
Prototype chain inheritance Prototype inheritance...
This article shares the specific code of JavaScri...
The installation tutorial of mysql 8.0.20 winx64....
This article shares the MySQL backup script for y...
Page layout has always been my concern since I st...
Apache Superset is a powerful BI tool that provid...
Table of contents Overall Effect Listen for conta...
When you install MySQL, you will be given an init...
Arrange by functionNN : Indicates which earlier ve...
This article example shares the specific code of ...
This time we use HTML+CSS layout to make a prelim...
The application of containers is becoming more an...
Table of contents Short Introduction 1. Check the...
1. Setting up nginx virtual host With virtual hos...