gpt4 book ai didi

php - mysql:未知选项 '--includedir/etc/mysql/mariadb.conf.d/'

转载 作者:行者123 更新时间:2023-11-29 10:37:31 24 4
gpt4 key购买 nike

我尝试通过终端登录 mysql,但输入时出现错误

mysql -u root

错误:

mysql: unknown option '--includedir /etc/mysql/mariadb.conf.d/'

帮助我:为什么我无法通过终端登录mysql?

/etc/mysql/my.cnf

!includedir /etc/mysql/conf.d/

includedir /etc/mysql/mariadb.conf.d/

最佳答案

您是否尝试过使用密码登录:

mysql -u root -p<Password>

仅供引用:-ppassword 之间没有空格

关于php - mysql:未知选项 '--includedir/etc/mysql/mariadb.conf.d/',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46150031/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com