
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 12 one-click installation of Broadcom network card
- 轻量级的Php mysql web 管理客户端程序Adminer
- Debian系统设置ipv4优先或者ipv6优先
- 更改或设置debian时区的方法
- debian/Ubuntu simple firewall setupthing
- debian 9添加开机启动命令的记录
- debian/ubuntu系统删除docker虚拟网桥
- Debian 10 更换163源并安装Java 8和maven记录