已解决 安装时连接mysql数据库出问题
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DROP TABLE IF EXISTS ranzhi.`oa_attend`' at line 16' in /data/html/ranzhi/app/sys/install/model.php:303 Stack trace: #0 /data/html/ranzhi/app/sys/install/model.php(303): PDO->query('CREATE TABLE ra...') #1 /data/html/ranzhi/tmp/model/install.php(10): installModel->createTable('5.6') #2 /data/html/ranzhi/app/sys/install/model.php(192): extinstallModel->createTable('5.6') #3 /data/html/ranzhi/app/sys/install/control.php(98): installModel->checkConfig() #4 [internal function]: install->step3() #5 /data/html/ranzhi/framework/base/router.class.php(1690): call_user_func_array(Array, Array) #6 /data/html/ranzhi/www/sys/install.php(37): baseRouter->loadModule() #7 {main} thrown in /data/html/ranzhi/app/sys/install/model.php on line 303
设置备注
答案列表
最佳答案
2018/01/02
ZDOO的版本号是多少?mysql php的版本号是多少?
2018/01/02
mysql版本5.6 php版本5.6
2018/01/30
@余德林:然之的版本号是多少?可以试一下linux一键安装包:
Linux 64位一键安装包:http://dl.cnezsoft.com/ranzhi/4.6/ranzhi.4.6.stable.zbox_64.tar.gz
Linux 32位一键安装包:http://dl.cnezsoft.com/ranzhi/4.6/ranzhi.4.6.stable.zbox_32.tar.gz