mariadb

来源:3-1 安装MySQL数据库

我爱吃板面

2019-08-01

在线安装 成功 config file也改好了 但是执行这个的时候 出错
[root@localhost hcheng]# service mysql start
Redirecting to /bin/systemctl start mysql.service
Failed to issue method call: Unit mysql.service failed to load: No such file or directory.

用了 systemctl enable mysql.service 也不行

同样是没有这个 file or directory

我的问题是可以上mariadb吗 这个一下子就简单多了

写回答

2回答

神思者

2019-08-01

按说在线安装是不会出问题的。你可以还原vm实例,选择本地安装MySQL,安装文件在课程的git工程里面。本课程按照mysql8.0规划的,如果你使用mariadb,唯一有区别的地方是不支持json类型字段

0
2
我爱吃板面
[root@localhost hcheng]# sudo systemctl start mysqld [root@localhost hcheng]# service mysqld restart Redirecting to /bin/systemctl restart mysqld.service 就可以了
2019-08-01
共2条回复

我爱吃板面

提问者

2019-08-01

[root@localhost hcheng]# sudo systemctl start mysqld

[root@localhost hcheng]# service mysqld restart

Redirecting to /bin/systemctl restart  mysqld.service


mysqld not mysql

0
0

阿里新零售数据库设计与实战 (升级版)

解锁“新零售”业务让数据库实战能力再上一层楼

2101 学习 · 701 问题

查看课程

相似问题