
Debian 10 installation MySQL server record
Go to the MySQL official website to download the apt installation source https://dev.mysql.com/downloads/repo/apt/
1
2
wget https://repo.mysql.com//mysql-apt-config_0.8.15-1_all.deb
apt install ./mysql-apt-config_0.8.15-1_all.deb
Let's start installing the MySQL server
apt-get update
apt install mysql-server
The installation process requires interaction, such as entering the MySQL version, MySQL password, and so on. . .
No longer described here, install according to the actual situation
systemctl start mysql
Start MySQL server
systemctl status mysql
View MySQL server status
1
2
3
4
5
6
7
8
9
10
11
12
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-03-30 20:36:44 CST; 16min ago
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process: 3198 ExecStartPre=/usr/share/mysql-8.0/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 3233 (mysqld)
Status: "Server is operational"
Tasks: 38 (limit: 2281)
Memory: 388.6M
CGroup: /system.slice/mysql.service
└─3233 /usr/sbin/mysqld
If MySQL provides external services, it is recommended to execute the following command to set MySQL security
mysql_secure_installation
💘 相关文章
- Tetua - an open source lightweight cms program based on golang and mysql, with installation and configuration
- debian 10安装MySQL服务器记录
- debian安装docker和Docker面板Portainer并部署Wordpress
- 一款强大的开源国产图床系统,基于PHP,MySQL
- Create Debian minimal with Hyper-V
- debian重启系统后网络丢失的解决方法
- debian 9添加开机启动命令的记录
- How to update the open source http3 server - openlitespeed
- 亲测可用debian 9添加多ip实例的方法
- 又一款基于golang,MySQL的开源论坛程序。。。