Get Data From Multiple Databases In One Project | Laravel Tip

  Рет қаралды 14,510

Laratips

Laratips

Күн бұрын

Пікірлер: 59
@rahulkumarsingh1716
@rahulkumarsingh1716 3 жыл бұрын
I like the way you explain even the minor details. Good.
@Laratips
@Laratips 3 жыл бұрын
Thanks
@mdhamidulislam8645
@mdhamidulislam8645 13 күн бұрын
thank you. this is very helpful video
@ayazahamed8254
@ayazahamed8254 8 ай бұрын
Very Well Explained.
@jimk5734
@jimk5734 3 жыл бұрын
would you consider making a video about user access control in a multi-tenant laravel app? i.e tenants adding their own users. your content is good, clean clear explanation. Keep up the good work!
@luciferzzzzzz
@luciferzzzzzz 3 жыл бұрын
Great work ❤️ i really like to watch your videos. Keep going
@Laratips
@Laratips 3 жыл бұрын
Thank you 🙂
@faheem08
@faheem08 6 ай бұрын
Can you please make a vidio how we can get data using join method from two different databases two table and show them
@Kirasim25
@Kirasim25 2 жыл бұрын
Can you please make a video on Laravel SSO for multiple projects to access same login server( which the projects may be api based or for example laravel backend and react frontend)
@bashardlaleh2110
@bashardlaleh2110 3 жыл бұрын
since the Cache is shared between users, so when another user logs in his default connection will be the one set by the last user, so it better be stored in the user's session or cookies instead of cache but of course as you said it all depends on the app
@Laratips
@Laratips 3 жыл бұрын
Yes absolutely
@spartacusyusuf9989
@spartacusyusuf9989 3 жыл бұрын
Can you make a video on pusher but using jQuery as frontend while using broadcast route? Also a video of synchronizing database records that where done offline on a local machine with that which is online? Also a video that when a user buys a service it clones the project creates the database, and set the .env on cpanel hosting?
@pesovatech6899
@pesovatech6899 Жыл бұрын
Nice thanks for this video
@Laratips
@Laratips Жыл бұрын
Most welcome
@R0b3
@R0b3 2 жыл бұрын
hi there. Thanks a lot for your support. SO is it possible making one query on one DB and if no result switch to other DB? Thanks a lot.
@Laratips
@Laratips 2 жыл бұрын
Yes, it is possible. You just need to change the connection name.
@R0b3
@R0b3 2 жыл бұрын
@@Laratips Ok but is it possible do it automatically inside controller?
@R0b3
@R0b3 2 жыл бұрын
I'm using oracle db as second DB. I must install some packages extra by using composer? Like for example laravel-oci8??
@Laratips
@Laratips 2 жыл бұрын
I don't think so. You need to do it separately.
@R0b3
@R0b3 2 жыл бұрын
@@Laratips and what about oracle connection? Should I install some extra package or just create and connection in ENV and database.php??
@lidyaamel7642
@lidyaamel7642 3 жыл бұрын
How to connect laravel with multiple connections depends on option list. Help me please. Thanks
@TusharZambare
@TusharZambare 2 жыл бұрын
How to fetch search result from 2 or more databases like global search engine.
@akbar01710
@akbar01710 3 жыл бұрын
Please create FIFO tutorial in stock management...
@abdullahsheikh1676
@abdullahsheikh1676 2 жыл бұрын
I follow your all videos , Just I request to you please make a video for How we can use multiple database server like mysql, mongodb etc. Hope you will make it Thank you
@MedSalemDZ
@MedSalemDZ 3 жыл бұрын
Why should I use the same server for the two databases ? Is there any solution for bringing data from two deferent servers?
@Laratips
@Laratips 3 жыл бұрын
You can have multiple projects in the same server. Lets say you have a customer facing project and a crm in the same server with different databases. Then in crm, you can show some reports by fetching data from the customer facing project database. And I think you can also connect to database of different server but I haven't done that so cant say much about it. In this case you can create api on one server and fetch from another server.
@TheMarvelsWorld
@TheMarvelsWorld 3 жыл бұрын
If there more database connection, then how can we achieve it without adding database config or env setup for other.
@Laratips
@Laratips 3 жыл бұрын
You must define a connection in the config/database.php file. In what case you need this feature? There might be other ways of getting things done.
@pushpenbanerjee9625
@pushpenbanerjee9625 2 жыл бұрын
@@Laratips Please make a video about how to parse database.php file on the crud. Thank You.
@hamzat7621
@hamzat7621 3 жыл бұрын
Is there any way to push new config setting in database.php in run time.. I have Created database and table on run time but I have occurred problem to push config setting... There is any dynamic way to append new connection
@Laratips
@Laratips 3 жыл бұрын
You can parse the database.php file on the crud operations and modify it as needed.
@pushpenbanerjee9625
@pushpenbanerjee9625 3 жыл бұрын
Fantastic video. But, if I use database for each user then what to do ? say 100+ user. Please if possible make a video tutorial. Many many thanks.
@Laratips
@Laratips 3 жыл бұрын
It's simple. In the cache key, you need to also add the user id.
@pushpenbanerjee9625
@pushpenbanerjee9625 3 жыл бұрын
@@Laratips Thank You
@mausamsapkota9011
@mausamsapkota9011 2 жыл бұрын
How can migration be handled with multiple databases
@Laratips
@Laratips 2 жыл бұрын
You can just add a connection property. Check the link below. laravel.com/docs/9.x/migrations#setting-the-migration-connection
@GergelyCsermely
@GergelyCsermely 3 жыл бұрын
Thanks
@mujejoje99
@mujejoje99 3 жыл бұрын
Good video 👍, Can you make video about readings from multiple copy of same database (replica) using laravel based on some sort of load balancing which Will split the read evenly between the databases , i wonder if laravel support this kind of functionality
@Laratips
@Laratips 3 жыл бұрын
I have not done this kind of thing before. If I do it and have a good understanding of it, i will make a video about this as well.
@pradoshkumarmukhopadhayay3534
@pradoshkumarmukhopadhayay3534 2 жыл бұрын
Can you consider my request to create a video on Laravel multi-tenants with different databases from scratch level using Laravel not using any third party? It will help me.
@ShaikKhaja476
@ShaikKhaja476 10 ай бұрын
Hi, am also looking for the same requirement. Could you please any references if you already got
@manithman9887
@manithman9887 3 жыл бұрын
Hi man, I would like you to make video laravel export and import excel with multiple relationship table.
@Laratips
@Laratips 3 жыл бұрын
Great suggestion! Will make this video soon.
@manithman9887
@manithman9887 3 жыл бұрын
​@@Laratips I'm really appreciate
@mooodddy1
@mooodddy1 3 жыл бұрын
Plesae describe more about how to make multiple guard using laravel password
@mujejoje99
@mujejoje99 3 жыл бұрын
How to make vs code autocomplete laravel code ?
@Laratips
@Laratips 3 жыл бұрын
use php intelephense extension
@palakgarg3968
@palakgarg3968 2 жыл бұрын
please make video zoom app integration laravel
@bidhanbaniya7605
@bidhanbaniya7605 3 жыл бұрын
finally thanks
@Laratips
@Laratips 3 жыл бұрын
You are welcome
@bidhanbaniya7605
@bidhanbaniya7605 3 жыл бұрын
It feels really great seeing Nepali laravel community up to this stage
@franklee8099
@franklee8099 3 жыл бұрын
Awesome
@Laratips
@Laratips 3 жыл бұрын
Thanks
@dhanrajchakravarti1368
@dhanrajchakravarti1368 3 жыл бұрын
laravel infyom package videos
@Laratips
@Laratips 3 жыл бұрын
I haven't used it before. I will have a look at what it has to offer.
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 16 МЛН
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 74 МЛН
Laravel 11: Multi-Tenancy with Multiple Databases
8:23
Laravel Daily
Рет қаралды 19 М.
We're not supposed to know about this yet 🤐
29:48
Theo - t3․gg
Рет қаралды 18 М.
3 Different Ways To Get Authenticated User In Laravel
4:07
Laratips
Рет қаралды 12 М.
Laravel Advanced - Task Scheduling - CRON Job
16:26
Laratips
Рет қаралды 62 М.
Laravel: Multiple database connections
16:11
Kean Allen
Рет қаралды 1,4 М.
Redis за 20 минут
23:22
suchkov tech
Рет қаралды 148 М.
File Upload in Laravel: Main Things You Need To Know
13:58
Laravel Daily
Рет қаралды 24 М.
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 16 МЛН