已解决 MAC下用XAMPP安装禅道,到保存[生成配置文件]出现报错

初次安装禅道,【生成配置文件】时出现

通过阅读禅道官网的帮助文档https://www.zentao.net/book/zentaopms/332.html

和知乎的相关问答MAC下用新版XAMPP(7.3.2)安装禅道 - 知乎 (zhihu.com)

决定初始化mysql root账号,并将密码设置为123456

再次尝试

在前页勾选“清空现有数据”

不填写密码,勾选“清空现有数据”

xampp下载的是8.2.4版本

禅道是18.11版本

在下载禅道前电脑下载了 mysql 8.1

电脑是20款的m1芯片

前面下载步骤均依据官网步骤,仅在此处出现问题


禅道版本 18.11 源码包
操作系统 CentOS
客户端浏览器 其他

提问者: 玩篮球的酱肘子 悬赏:5 日期: 2024-04-02 09:50:12 答案:1 点击:84

获取技术支持

QQ: 电话:
设置备注
答案列表
2024/04/02

出现这个错误的时候,试试mysql_upgrade 呢?

mysql报错:Column count of mysql.proc is wrong. Expected 21, found 20 – 行星带 (beltxman.com)


还有问题的话,可以联系官网顶部商务QQ,邀请加入技术交流群一起看下。

2024/04/09
我在使用mysql_upgrade命令时出现了报错
/Applications/XAMPP/xamppfiles/bin/mysql_upgrade -u root -p
Enter password:
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' (2)
FATAL ERROR: Upgrade failed
2024/04/09
需要先启动mysql服务
2024/04/09
好的,谢谢
我启动了xampp中的mysql服务,但又出现了新的报错
/Applications/XAMPP/xamppfiles/bin/mysql_upgrade -u root -p
Enter password:
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
FATAL ERROR: Upgrade failed
2024/04/09
Access denied for user 'root'@'localhost' (using password: YES)这个错误通常有两种情况:
1. 用户名或密码错误:尝试连接数据库时,提供的用户名或密码不正确。
2. 权限不足:尽管用户名和密码正确,但该用户没有足够的权限来执行特定的操作。
2024/04/09
好的,非常感谢!
我使用了sudo /Applications/XAMPP/xamppfiles/bin/mysql_upgrade -u root -p
成功运行了mysql_upgrade命令
2024/04/09
666