Atitit.故障排除系列---php 程式網站資料庫錯誤排除流程,atitit---php

來源:互聯網
上載者:User

Atitit.故障排除系列---php 程式網站資料庫錯誤排除流程,atitit---php

Atitit.故障排除系列---php 程式網站資料庫錯誤排除流程

 

Php頁面報告的錯誤不能定位到myusql的db配置上...字說是db conn err

 

Mysql 接入錯誤...大概查看哈能不能行上設定檔..三,心不死,子能trace蘭...

 

作者::老哇的爪子Attilax艾龍,EMAIL:1466519819@qq.com

轉載請註明來源: http://blog.csdn.net/attilax

 

 

Index.php 

 error_reporting(E_ALL  );

 

中間,走不個cfg php的path 顯示出來蘭...

 

Database.php

 

$db['default']['username'] = 'root';

$db['default']['password'] =  ;

$db['default']['database'] =   ;

 

要是中個不行,就要file rw trace了...process monitor>>file monitor

 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.