- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業務經營許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯網協會理事單位
- 安全聯盟認證網站身份V標記
- 域名注冊服務機構許可:滇D3-20230001
- 代理域名注冊服務機構:新網數碼
php網站報錯[IlluminateDatabaseQueryException] SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas sword NO) (SQL select from information_schema.tables where table_schema =
藍隊云小課堂:
[Illuminate\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Database\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\QueryException]
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas
sword: NO) (SQL: select * from information_schema.tables where table_schema
= laravel_test1 and table_name = migrations)
通常是緩存造成的
在命令行中進入程序根目錄,執行下列語句。
php artisan cache:clear
php artisan config:clear
php artisan serve
然后在執行 php artisan migrate
注意:前提是檢查完了 .env和config/database.php
更多小知識,可聯系藍隊云一起探討。
售前咨詢
售后咨詢
備案咨詢
二維碼
TOP