测试
2017-10-24 18:22:30
18:13:44 Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'user'@'10.151.%.%' to database 'zentao'' in /opt/zentao/module/install/model.php:345
Stack trace:
#0 /opt/zentao/module/install/model.php(345): PDO->query('CREATE DATABASE...')
#1 /opt/zentao/module/install/model.php(230): installModel->createDB('5.7')
#2 /opt/zentao/module/install/control.php(113): installModel->checkConfig()
#3 [internal function]: install->step3()
#4 /opt/zentao/framework/base/router.class.php(1691): call_user_func_array(Array, Array)
#5 /opt/zentao/www/install.php(36): baseRouter->loadModule()
#6 {main}
thrown in /opt/zentao/module/install/model.php on line 345 when visiting /zentao/install.php?m=install&f=step3
请问这个解决
石洋洋
2017-10-25 08:23:51
一键安装包默认只能服务器本机用127.0.0.1 连接,可以参考文档开启mysql远程访问:http://www.zentao.net/book/zentaopmshelp/276.html