Laravel 8 tutorial in Hindi - Multiple Database Connection
HTML-код
- Опубликовано: 2 окт 2020
- In this laravel 8 API tutorial, we learn how to make multiple database connections in laravel with a simple way. This video is made by anil Sidhu in the HIndi language.
Multiple DB Connection
DB config
Make Controller and Model
Multiple DB with Query Builder
Multiple DB with Model
Laravel 9 tutorial in hindi
Interview Question
Laravel 9 tutorial playlist in Hindi
• Laravel 9 tutorial in ...
please support me by subscribe, like and comment :) thank you
nice approach
thank you
Sir, website security in laravel plz complete advanced professional tutorials बनाओ जी
facadas🤣
by the way, nice tut mate.
Can we link sql database with this way ?
Sir, Laravel project ko sonarqube se Kaise integrate karte h Ubuntu 16.04 pe. Plz sir ek video bana dijiye.
Please upload multiple role based authentication and login in laravel complete video
Sir me 2 databse connect krta hu or muje databse1 me admin ki table or databse2 me user ki table banani hoto
Migrations me konsi command likhenge to alg alg databse me alg alg table banegi?
good Question
@@Umair-Sid47 ans to de bhaii
php artisan migrate --database=laraveldb2
Database connection [mysql2] not configured.
How can I get private videos
my answer is: i think we can not join 2 tables from different DB on mysql level, but we can manipulate data from both table in php. plz tell correct answer.
yes you can join but the condition is that the two databases are on same server
use Illuminate\Support\Facades\DB;
$records = DB::connection('mysql1')
->table('database1.table1')
->join('mysql2.database2.table2', 'table1.column', '=', 'table2.column')
->select('table1.column1', 'table2.column2')
->get();