Manjaro安装Mariadb
前言:在manjaro系统上安装mysql与其他系统,如centos,ubuntu稍有不同,默认就只有mariadb
环境:Manjaro
██████████████████ ████████ jimersylee@jimersylee-laptop
██████████████████ ████████ OS: Manjaro 17.1.12 Hakoila
██████████████████ ████████ Kernel: x86_64 Linux 4.14.67-1-MANJARO
██████████████████ ████████ Uptime: 3h 12m
████████ ████████ Packages: 1184
████████ ████████ ████████ Shell: zsh 5.5.1
████████ ████████ ████████ Resolution: 1920x1080
████████ ████████ ████████ DE: GNOME
████████ ████████ ████████ WM: GNOME Shell
████████ ████████ ████████ WM Theme: Adapta-Nokto-Maia
████████ ████████ ████████ GTK Theme: Adapta-Nokto-Maia [GTK2/3]
████████ ████████ ████████ Icon Theme: Papirus-Adapta-Maia
████████ ████████ ████████ Font: Noto Sans 11
████████ ████████ ████████ CPU: Intel Core i7-8550U @ 8x 4GHz [47.0°C]
GPU: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)
RAM: 6157MiB / 15928MiB安装
sudo pacman -S mariadb
配置
#初始化 sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql #启动 sudo systemctl start mariadb #设置密码 mysql_secure_installation
相关推荐
山有木兮卿有意 2020-06-16
zhangpan 2020-02-04
wintelx 2020-02-03
LonelyTraveler 2020-02-03
英文字体主编 2019-12-06
思维的世界 2019-10-30
micmouse 2019-10-14
Ongoingcre 2019-03-19
koukouwuwu 2018-05-07
lmylikefx 2018-05-05
hickwu 2018-04-25
Rafema 2018-01-24
启云 2017-11-07