This is a complete tutorial, here, You will get learn How to connect to MySQL database with Laravel project. Thank You For Visiting My Channel. ***** Subscribe & Support ***** #Laravel #MySQL #DB-Connection
Пікірлер: 22
@nallawilljr.4873 Жыл бұрын
Hidden code fix on line 13, timestamp [03:00]: echo "Successfully connected to DB and DB name is " . DB::connection()->getDatabaseName();
@joyzkieeeeeeeeeee749210 ай бұрын
thank youuu
@Rijobin9 ай бұрын
Thank you so much!
@mervey457 ай бұрын
thank you soooooooo much
@Zleberc Жыл бұрын
Do not recommend, the code is incomplete and not fully shown in the tutorial.
@musxsang Жыл бұрын
agreed
@gregjerry41107 ай бұрын
Thanks man was harving a hard time connecting mysql because the tutorial I was following was used sqlite
@techwebdocs7 ай бұрын
Glad it helped!
@tarciocavaleiro90955 ай бұрын
I'm having an "Undefined type 'DB' " error
@KwastStudioАй бұрын
this should fix it, and if you get SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mydb.sessions' doesn't exist (Connection: mysql, SQL: select * from `sessions` where `id` = text tings limit 1) do php artisan migrate
@sadge2836 Жыл бұрын
use Illuminate\Support\Facades\DB; this line needs to be added before the If condition
@Ankita_Informs Жыл бұрын
Having error of " could not find driver"
@selverstarmoney8817 Жыл бұрын
same things
@learnlab12293 ай бұрын
kya is way sy migrations me table wali files create ho jay gee?
@ubahobaah9706 Жыл бұрын
could not find driver error
@benjamimzeca5264Ай бұрын
Thanks a lot, this video helped me to fix some issue that i took more then 5hours