来源: 最后更新:23-11-04 12:08:20
要安装MariaDB,我们首先要设置MariaDB仓库。
设置 MariaDB 仓库
安装 MariaDB :
$ sudo apt-get update
$ sudo apt-get install mariadb-server
在安装中,你会被要求设置MariaDB的root密码。
从命令行连接到MariaDB :
linuxtechi@mail:~$ mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 40
Server version: 10.0.14-MariaDB-1~trusty-log mariadb.org binary distribution
Copyright (c) 2000, 2014, Oracle, SkySQL Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
MariaDB 服务
$ sudo /etc/init.d/mysql stop$ sudo /etc/init.d/mysql start
标签:
帮同学化妆最高日入近千 帮朋友化妆帮同学化妆最高日入近千?浙江大二女生冲上热搜,彩妆,妆容,模特,王
2023吉林省紧缺急需职业工种目录政策解读 2024张杰上海演唱会启东直通车专线时间+票价 马龙谢幕,孙颖莎显示统治力,林诗栋紧追王楚钦,国乒新奥运周期竞争已启动 全世界都被吓了一跳 吓死全世界