关于解决ecshop报错Incorrect database name

2016-09-11 20:39 来源:www.chinab4c.com 作者:ecshop专家

ecshop运行报错


MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO ``.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('0601ea439316c186acef9113b91c4231', '1247191264', '116.24.218.213', 'a:0:{}') ) [2] => Array ( [error] => Incorrect database name '' ) [3] => Array ( [errno] => 1102 ) )

查找原来是data下的config.php文件有问题

新建一个config.php


搞定