来源: 最后更新:23-11-04 12:08:45
要安装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
华为手机滑动解锁界面是广告 华为手机滑动解锁界面是广告吗品牌型号:华为P40 系统:HarmonyOS 2.0 软件版本: 以华为P40为例,屏
夏天坐月子可以开空调吗? 夏天坐月子能不能吃水果 爱国歌曲我们美丽的祖国歌词(我们美丽的祖国的歌词) 乐队的夏天2开播时间 《乐队的夏天2》开播