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
💘 相关文章
- debian 10安装MySQL服务器记录
- Tetua - an open source lightweight cms program based on golang and mysql, with installation and configuration
- ubuntu、debian等Linux系统ssh登陆显示系统信息的软件推荐
- configing more ip in debian9
- MySQL在Mac系統通過brew安裝以及重啟的方法
- mysql严格模式引起1364 错误提示的處理過程的一些坑
- Starting MySQL... ERROR! ……quit without updating PID file (/opt/mysql/data/mysql.pid)解決方法
- 在Debian系統下安裝MegaCli硬Raid軟件監控的方法
- Tetua-Open source lightweight cms program configuration github login tutorial based on golang and mysql
- docker容器下的MySQL远程连接配置方法