国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

webman對數(shù)據(jù)庫的查詢問題

煮酒品天下

當數(shù)據(jù)表的表名有一個以上的"_"就會報錯,無法獲取數(shù)據(jù)
比如:表名im_chat_log,而im_chat卻可以獲取數(shù)據(jù),等待修復

4215 2 0
2個回答

煮酒品天下

獲取多數(shù)據(jù)庫數(shù)據(jù)時報錯:

Fatal error: Declaration of support\exception\Handler::render(Webman\Http\Request $request, Throwable $exception): Webman\Http\Response must be compatible with Webman\Exception\ExceptionHandler::render(support\Request $request, Throwable $exception): support\Response in /www/wwwroot/webman.666.cn/support/exception/Handler.php on line 25
Worker[52497] process terminated with ERROR: E_COMPILE_ERROR "Declaration of support\exception\Handler::render(Webman\Http\Request $request, Throwable $exception): Webman\Http\Response must be compatible with Webman\Exception\ExceptionHandler::render(support\Request $request, Throwable $exception): support\Response in /www/wwwroot/webman.666.cn/support/exception/Handler.php on line 25"

有的數(shù)據(jù)庫獲取數(shù)據(jù)就正常,有的數(shù)據(jù)庫就報錯

  • 暫無評論
walkor 打賞

運行 composer update workerman/webman-framework 更新下

  • 煮酒品天下 2020-06-12

    報錯:
    PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'webman_666_c.ims_beta_car_car' doesn't exist in /www/wwwroot/webman.666.cn/vendor/illuminate/database/Connection.php:331
    Stack trace:
    數(shù)據(jù)庫應該是:webman_666_cn,而報錯中提示卻是webman_666_c,數(shù)據(jù)庫名稱讀取長度就不對,需要哪里改動

  • 煮酒品天下 2020-06-12

    @6971:數(shù)據(jù)庫應該是weiw_666_cn,可是卻提示webman_666_c

  • walkor 2020-06-12

    配置錯了吧,你自己找下吧

  • 煮酒品天下 2020-06-12

    @1:正確的了啊,數(shù)據(jù)表少的數(shù)據(jù)庫沒問題,數(shù)據(jù)表多的數(shù)據(jù)庫就出問題,將數(shù)據(jù)表多的數(shù)據(jù)庫清空加入少量數(shù)據(jù)表訪問正常,然后增加數(shù)據(jù)表后就報錯了

年代過于久遠,無法發(fā)表回答
??