点击安装完成,然后就提示错误[backcolor=rgba(0, 0, 0, 0.3)]Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused
172.17.0.1是docker的默认bridge网关,3307是MariaDB端口, 所以你的数据库地址应该是:172.17.0.1:3370。你安装下面的命令操作,再安装应该问题能解决。通过ssh连接到群晖(群晖需打开ssh) 1、sudo -i 2、cd /volume1/@appstore/MariaDB10/usr/local/mariadb10/bin 3、./mysql -u root -p 4、use mysql 5、update user set host = '172.17.0.%’ where user = 'root'; (“;”也要复制,下同) 6、select host, user from user; 7、FLUSH PRIVILEGES;