已解决
安装时连接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的版本号是多少?
|