resourceexception object
(
    [_code:protected] => array
        (
            [1101] => _setconnstr方法,conntype参数类型不对
            [1102] => _setconnstr方法,数据库链接数组配置错误
            [1103] => mysql连接错误
            [1104] => pdo prepare失败
            [1105] => mysql数据insert失败
            [1106] => mysql数据replace失败
            [1107] => mysql数据update失败
            [1108] => mysql数据delete失败
            [1201] => _changedb方法,dbname参数为空
            [1202] => _getdbname方法,dbname参数为空
            [1203] => _gettblname方法,dbname参数为空
            [1204] => _gettblname方法,tblname参数为空
            [1205] => _getchntblname方法,dbname参数为空
            [1206] => _getchntblname方法,tblname参数为空
            [1207] => _getpassporttblname方法,term参数类型不对
            [1208] => _getmanagertblname方法,term参数类型不对
            [1301] => db类_getdbname方法,_dbnumber为空
            [1302] => db类_gettblname方法,userid必须为数字类型
            [1303] => db类_gettblname方法,无法根据userid获得分表后缀
            [1304] => db类exec方法,mstype必须为数字类型
            [1305] => db类query方法,mstype必须为数字类型
            [1306] => db类_prepare方法,mstype必须为数字类型
            [1307] => db类_getresult方法,mstype必须为数字类型
            [1308] => db类_insert方法,conditions类型不正确
            [1309] => db类_replace方法,conditions类型不正确
            [1310] => db类_update方法,conditions类型不正确
            [1311] => db类_delete方法,conditions类型不正确
            [1312] => db类_select方法,conditions[link][table]不存在
            [2101] => custommemcache类_connection方法,group不存在
            [2102] => custommemcache类_changepara方法,存储键值名称不正确
            [2103] => custommemcache类_changepara方法,needfield中的数据有错误
            [2104] => custommemcache类_changepara方法,缓存需要分页,分页参数缺失
            [3101] => customredis类,redis连接失败
            [3102] => customredis类_changepara方法,存储键值名称不正确
            [3103] => redissocket类,redis连接失败
            [3201] => redissocket类_read方法,cannot read from socket
            [3202] => redissocket类_write方法,cannot write to socket. access denied
            [3204] => redissocket类_getresponse方法,数据不正确
            [3205] => redissocket类_getresponse方法,cannot convert data to integer
            [3206] => redissocket类_getresponse方法,cannot convert multi-response header to integer
            [3207] => redissocket类_getresponse方法,invalid reply type byte
            [3208] => redissocket类_getbulkreply方法,cannot convert bulk read header to integer
            [3209] => redissocket类_getbulkreply方法,unkown response prefix
            [4101] => customtt类_connection方法,group不存在
            [4102] => customtt类_changepara方法,存储键值名称不正确
            [4103] => customtt类_changepara方法,needfield中的数据有错误
            [4104] => customtt类_changepara方法,缓存需要分页,分页参数缺失
            [4002] => 
            [5101] => customapc类storeapc方法,key不存在
            [5102] => customapc类addapc方法,key不存在
            [5103] => customapc类fetchapc方法,key不存在
            [5104] => customapc类deleteapc方法,key不存在
            [5105] => customapc类defineconstantsapc方法,key不存在
            [5106] => customapc类loadconstantsapc方法,key不存在
            [9999] => 
        )
    [_mode:protected] => test
    [_log:protected] => 
    [message:protected] => mysql连接错误
    [string:exception:private] => 
    [code:protected] => 1103
    [file:protected] => /server/hosting/pureone/include/library/database/database_incision_raise.class.php
    [line:protected] => 416
    [trace:exception:private] => array
        (
            [0] => array
                (
                    [file] => /server/hosting/pureone/include/library/database/database.class.php
                    [line] => 496
                    [function] => _conn
                    [class] => databaseincisionraise
                    [type] => ->
                    [args] => array
                        (
                            [0] => 1
                        )
                )
            [1] => array
                (
                    [file] => /server/hosting/pureone/include/library/database/database.class.php
                    [line] => 1172
                    [function] => exec
                    [class] => database
                    [type] => ->
                    [args] => array
                        (
                            [0] => insert into `pureone_bot` (`botname`,`botcount`,`botlast`,`botlasturl`) values ('baiduspider',1,1558155515,'/products/magnoflorine-iodide--+-rg-4277-43-4-p1016.html')
                            [1] => 1
                        )
                )
            [2] => array
                (
                    [file] => /server/hosting/pureone/include/site/logic/dao/db/db_pureone_bot_dao.class.php
                    [line] => 234
                    [function] => _insert
                    [class] => database
                    [type] => ->
                    [args] => array
                        (
                            [0] => array
                                (
                                    [botname] => baiduspider
                                    [botcount] => 1
                                    [botlast] => 1558155515
                                    [botlasturl] => /products/magnoflorine-iodide--+-rg-4277-43-4-p1016.html
                                )
                            [1] => 0
                        )
                )
            [3] => array
                (
                    [file] => /server/hosting/pureone/www.pureonebio.com/public/entry.php
                    [line] => 65
                    [function] => setdbpureonebot
                    [class] => dbpureonebotdao
                    [type] => ->
                    [args] => array
                        (
                            [0] => insert
                            [1] => 0
                            [2] => array
                                (
                                    [0] => botname
                                    [1] => botcount
                                    [2] => botlast
                                    [3] => botlasturl
                                )
                            [3] => array
                                (
                                    [0] => baiduspider
                                    [1] => 1
                                    [2] => 1558155515
                                    [3] => /products/magnoflorine-iodide--+-rg-4277-43-4-p1016.html
                                )
                        )
                )
            [4] => array
                (
                    [file] => /server/hosting/pureone/www.pureonebio.com/public/detail.php
                    [line] => 2
                    [args] => array
                        (
                            [0] => /server/hosting/pureone/www.pureonebio.com/public/entry.php
                        )
                    [function] => require
                )
        )
    [previous:exception:private] => 
)

fatal error: uncaught exception 'resourceexception' with message 'mysql连接错误' in /server/hosting/pureone/include/library/database/database_incision_raise.class.php:416 stack trace: #0 /server/hosting/pureone/include/library/database/database.class.php(645): databaseincisionraise->_conn(1) #1 /server/hosting/pureone/include/library/database/database.class.php(1184): database->lastid() #2 /server/hosting/pureone/include/site/logic/dao/db/db_pureone_bot_dao.class.php(234): database->_insert(array, 0) #3 /server/hosting/pureone/www.pureonebio.com/public/entry.php(65): dbpureonebotdao->setdbpureonebot('insert', 0, array, array) #4 /server/hosting/pureone/www.pureonebio.com/public/detail.php(2): require('/server/hosting...') #5 {main} thrown in /server/hosting/pureone/include/library/database/database_incision_raise.class.php on line 416