數(shù)據(jù)庫(kù)連接不上
FatalErrorException in StudentController.php line 162: Class 'App\Http\Controllers\Student' not found 這是什么情況啊?數(shù)據(jù)庫(kù)連接不上
FatalErrorException in StudentController.php line 162: Class 'App\Http\Controllers\Student' not found 這是什么情況啊?數(shù)據(jù)庫(kù)連接不上
舉報(bào)
2017-06-15
這個(gè)不是數(shù)據(jù)庫(kù)連接不上吧?Controllers下面應(yīng)該是StudentController,里面的類(lèi)名也要是StudentController
2017-06-15
注意:首先你如果之前裝過(guò)單個(gè)的MySQL數(shù)據(jù)庫(kù),你可以把它關(guān)閉了,因?yàn)榧森h(huán)境中也裝了MySQL數(shù)據(jù)庫(kù),兩個(gè)數(shù)據(jù)庫(kù)至少要關(guān)閉一個(gè),然后就是確保代碼無(wú)誤。