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
- 转载:Debian制作Cloud-Init的pve系统模版
- 个人博客数据库选择,mysql vs sqlite?
- debian/ubuntu系统删除docker虚拟网桥
- how can do speed test network for debian /ubuntu?
- 使用Hyper-V創建Debian minimal
- debian 7 升级到debian 8并配置bbr加速的详细教程。
- 简单的MySQL缓存设置