分享
  • 收藏
  • 举报
    X
    百度云安装x1时出错 导入SQL失败,请检查install.sql的语句是否正确
    • BlackFriday 消费7370.44元 2018-07-22 11:55 11:55
    1581
    14

    :(

    导入SQL失败,请检查install.sql的语句是否正确:CREATE TABLE `qb_label` ( `id` int(10) NOT NULL AUTO_INCREMENT COMMENT '自动增值ID', `name` varchar(32) NOT NULL DEFAULT '' COMMENT '标签区分符', `pagename` varchar(32) NOT NULL COMMENT '标签所在模板文件', `class_cfg` varchar(100) NOT NULL COMMENT '获取标签数据的类名与方法', `cfg` text NOT NULL COMMENT '基础参数配置,比如显示哪些栏目,如何排序等等', `extend_cfg` text NOT NULL COMMENT '扩展配置,可以是纯代码、图片,也可以是模板数据', `type` varchar(25) NOT NULL COMMENT '调用类型,比如图片、代码等', `ifdata` tinyint(4) NOT NULL COMMENT '是否只要原始数据,不要直接输出', `hide` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否隐藏', `cache_time` int(10) NOT NULL DEFAULT '0' COMMENT '缓存时间', `uid` mediumint(7) NOT NULL DEFAULT '0' COMMENT '修改者', `create_time` int(10) NOT NULL DEFAULT '0' COMMENT '标签创建时间', `update_time` int(10) NOT NULL COMMENT '修改时间', `system_id` mediumint(6) NOT NULL DEFAULT '0' COMMENT '所属模块,插件为负数', `if_js` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否站外调用,比如APP或小程序或JS', `power_cfg` varchar(255) NOT NULL COMMENT '权限扩展', `view_tpl` text NOT NULL COMMENT '标签的模板代码', `fid` mediumint(5) NOT NULL COMMENT '分类分组', `title` varchar(50) NOT NULL COMMENT '标签名称说明', `list` int(10) NOT NULL COMMENT '排序值', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`), KEY `module_id` (`system_id`), KEY `page` (`pagename`), KEY `if_js` (`if_js`), KEY `fid` (`fid`,`list`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='数据标签' exception 'think\exception\PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/bae/app/thinkphp/library/think/db/Connection.php:456 Stack trace: #0 [internal function]: think\db\Connection->execute('CREATE TABLE `q...') #1 /home/bae/app/thinkphp/library/think/Db.php(178): call_user_func_array(Array, Array) #2 /home/bae/app/application/install/controller/Error.php(166): think\Db::__callStatic('execute', Array) #3 /home/bae/app/application/install/controller/Error.php(166): think\Db::execute('CREATE TABLE `q...') #4 /home/bae/app/application/install/controller/Error.php(32): app\install\controller\Error->step5() #5 [internal function]: app\install\controller\Error->index('5') #6 /home/bae/app/thinkphp/library/think/App.php(348): ReflectionMethod->invokeArgs(Object(app\install\controller\Error), Array) #7 /home/bae/app/thinkphp/library/think/App.php(607): think\App::invokeMethod(Array, Array) #8 /home/bae/app/thinkphp/library/think/App.php(462): think\App::module(Array, Array, NULL) #9 /home/bae/app/thinkphp/library/think/App.php(139): think\App::exec(Array, Array) #10 /home/bae/app/thinkphp/start.php(19): think\App::run() #11 /home/bae/app/index.php(29): require('/home/bae/app/t...') #12 {main}

    页面自动 跳转 等待时间: 


    5
    赏礼
    赏钱
    收藏
    点击回复
        全部留言
    • 14
    • admin 超级管理员 消费:3.03元 2018-07-23 20:06 20:066楼

      大家不要买百度云的空间.

      因为他的数据库跟空间不在同一个服务器.

      访问数据库容易超时

      中心 消费:0元 2018-07-24 14:19
      应该和这个无关,我的服务器在深圳,数据库在北京一样很快
    0 赏钱 赏礼回复
    • 海中的浪花 普通粉丝 消费:10.01元 2018-07-23 18:01 18:016楼
      这个问题X1发布的时候,我安装就出现了。也把资料私发 过admin。。一直没有回音。
      BlackFriday 消费:7370.44元 2018-07-23 18:10
      你最后怎样解决的呢?
    0 赏钱 赏礼回复
    • admin 超级管理员 消费:3.03元 2018-07-23 14:19 14:196楼

      私信发资料过来.帮你看看

      BlackFriday 消费:7370.44元 2018-07-23 17:36
      发给你了  麻烦了
    0 赏钱 赏礼回复
    • verycong 风格开发者 消费:118.73元 2018-07-23 13:16 13:166楼

      似乎是服务器的事。

    0 赏钱 赏礼回复
    • BlackFriday 普通粉丝 消费:7370.44元 2018-07-23 12:30 12:306楼
      这个问题还没有解决哦~!兄弟们帮忙看看~!
    0 赏钱 赏礼回复
    • 淘宝特价商品推荐 普通粉丝 消费:0元 2018-07-22 12:45 12:456楼

      看不懂哟 安装界面显示的是否支持都支持么?

      也许php版本低了?php版本要5以上

      BlackFriday 消费:7370.44元 2018-07-23 12:28
      5.6的哦
      BlackFriday 消费:7370.44元 2018-07-23 12:29

      这个问题还没有解决哦~!兄弟们帮忙看看~!

      BlackFriday 消费:7370.44元 2018-07-23 12:30

      这个问题还没有解决哦~!兄弟们帮忙看看~!

    0 赏钱 赏礼回复
    • BlackFriday 普通粉丝 消费:7370.44元 2018-07-22 12:25 12:256楼

      :(

      导入SQL失败,请检查install.sql的语句是否正确:INSERT INTO `qb_group` VALUES ('2','1','黑名单','0','a:54:{s:10:\"upfileType\";s:0:\"\";s:13:\"upfileMaxSize\";s:0:\"\";s:14:\"PassContribute\";s:1:\"1\";s:17:\"SearchArticleType\";s:1:\"1\";s:16:\"PostArticleYzImg\";s:1:\"1\";s:13:\"EditPassPower\";s:1:\"0\";s:12:\"SetTileColor\";s:1:\"0\";s:14:\"SetSellArticle\";s:1:\"0\";s:17:\"SetSpecialArticle\";s:1:\"0\";s:17:\"SetArticleKeyword\";s:1:\"0\";s:20:\"AddArticleKeywordNum\";s:0:\"\";s:21:\"AddArticleCopyfromNum\";s:0:\"\";s:18:\"SelectArticleStyle\";s:1:\"0\";s:16:\"SelectArticleTpl\";s:1:\"0\";s:13:\"SetArticleTpl\";s:1:\"0\";s:18:\"SetArticlePosttime\";s:1:\"0\";s:18:\"SetArticleViewtime\";s:1:\"0\";s:16:\"SetArticleHitNum\";s:1:\"0\";s:18:\"SetArticlePassword\";s:1:\"0\";s:19:\"SetArticleDownGroup\";s:1:\"0\";s:19:\"SetArticleViewGroup\";s:1:\"0\";s:17:\"SetArticleJumpurl\";s:1:\"0\";s:19:\"SetArticleIframeurl\";s:1:\"0\";s:21:\"SetArticleDescription\";s:1:\"0\";s:16:\"SetArticleTopCom\";s:1:\"0\";s:13:\"SetSmallTitle\";s:1:\"0\";s:19:\"CommentArticleYzImg\";s:1:\"1\";s:17:\"CollectArticleNum\";s:0:\"\";s:15:\"CreatSpecialNum\";s:0:\"\";s:13:\"PostNoDelCode\";s:1:\"0\";s:7:\"SetVote\";s:1:\"0\";s:11:\"SetHtmlName\";s:1:\"0\";s:16:\"PassContributeSP\";s:1:\"0\";s:14:\"AllowUploadMax\";s:1:\"0\";s:11:\"comment_num\";s:2:\"10\";s:10:\"comment_yz\";s:1:\"1\";s:11:\"comment_img\";s:1:\"0\";s:16:\"sell_postauto_yz\";s:1:\"0\";s:15:\"buy_postauto_yz\";s:1:\"0\";s:15:\"post_pingpai_yz\";s:1:\"0\";s:10:\"use2domain\";s:1:\"0\";s:16:\"useHomepageStyle\";s:1:\"0\";s:21:\"view_buy_view_contact\";s:1:\"0\";s:13:\"post_sell_num\";s:0:\"\";s:12:\"post_buy_num\";s:0:\"\";s:13:\"post_news_num\";s:0:\"\";s:14:\"post_photo_num\";s:0:\"\";s:11:\"post_hr_num\";s:0:\"\";s:17:\"post_zhanghui_num\";s:0:\"\";s:12:\"post_ZLG_num\";s:0:\"\";s:16:\"post_pingpai_num\";s:0:\"\";s:19:\"post_baojiadian_num\";s:0:\"\";s:19:\"post_xunjiadian_num\";s:0:\"\";s:24:\"post_info_collection_num\";s:0:\"\";}','0','') exception 'think\exception\PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/bae/app/thinkphp/library/think/db/Connection.php:456 Stack trace: #0 [internal function]: think\db\Connection->execute('INSERT INTO `qb...') #1 /home/bae/app/thinkphp/library/think/Db.php(178): call_user_func_array(Array, Array) #2 /home/bae/app/application/install/controller/Error.php(166): think\Db::__callStatic('execute', Array) #3 /home/bae/app/application/install/controller/Error.php(166): think\Db::execute('INSERT INTO `qb...') #4 /home/bae/app/application/install/controller/Error.php(32): app\install\controller\Error->step5() #5 [internal function]: app\install\controller\Error->index('5') #6 /home/bae/app/thinkphp/library/think/App.php(348): ReflectionMethod->invokeArgs(Object(app\install\controller\Error), Array) #7 /home/bae/app/thinkphp/library/think/App.php(607): think\App::invokeMethod(Array, Array) #8 /home/bae/app/thinkphp/library/think/App.php(462): think\App::module(Array, Array, NULL) #9 /home/bae/app/thinkphp/library/think/App.php(139): think\App::exec(Array, Array) #10 /home/bae/app/thinkphp/start.php(19): think\App::run() #11 /home/bae/app/index.php(29): require('/home/bae/app/t...') #12 {main}

      页面自动 跳转 等待时间: 


    0 赏钱 赏礼回复
    • BlackFriday 普通粉丝 消费:7370.44元 2018-07-22 11:56 11:566楼

      怎么处理哦?

    0 赏钱 赏礼回复
    更多回复
    恢复多功能编辑器
  • 3 1
  • 推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648