Jump to content

2-1.单独安装MariaDB


Recommended Posts

-------------------------------------
单独安装MariaDB
-------------------------------------

命令
screen -S lnmp

cd /root/lnmp1.9/

./install.sh db


You have 11 options for your DataBase install.
1: Install MySQL 5.1.73
2: Install MySQL 5.5.62 (Default)
3: Install MySQL 5.6.51
4: Install MySQL 5.7.38
5: Install MySQL 8.0.30
6: Install MariaDB 5.5.68
7: Install MariaDB 10.3.35
8: Install MariaDB 10.4.25
9: Install MariaDB 10.5.16
10: Install MariaDB 10.6.8
0: DO NOT Install MySQL/MariaDB
Enter your choice (1, 2, 3, 4, 5, 6, 7, 8, 9, 10 or 0): 

选择MariaDB 10.6
按 10

如果IPS无法使用,再退回MariaDB 10.5

 

Please setup root password of MySQL
Please enter: 按Enter


自动给一组密码
MySQL root password: lnmp.org#随机数字

 

Do you want to enable or disable the InnoDB Storage Engine?
Default enable,Enter your choice [Y/n]: 
按 y

 

The script will REMOVE MySQL/MariaDB installed via yum or apt-get and it's databases!!!
Press any key to install...or Press Ctrl+c to cancel
按任意键,开始安装

 

开始漫长的安装过程,若断线

因为一开始就用命令 screen -S lnmp 去安装

那么恢复连线,可以敲命令 screen -r lnmp 继续

Edited by Jack
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...