
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服务器记录
- 一款强大的开源国产图床系统,基于PHP,MySQL
- 轻量级的Php mysql web 管理客户端程序Adminer
- debian 9 安全升级到Debian 10的方法
- Tetua-基于golang和mysql的开源轻量级cms程序,附上安装和配置教程
- 简单的MySQL缓存设置
- debian 8平滑升级到debian 9
- Create Debian minimal with Hyper-V
- 在ubuntu和Debian系统单网卡绑定多个IP v6地址的方法