How to Connecting to Database in Laravel ?



How to Connecting to Database in Laravel ?..

Answer / surbhi

Configure the database in config/database.php file and create the college database with structure in MySQL.
Database: College
Table: student

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

How can we check the logged-in user info in laravel?

0 Answers  


What is meant by Implicit Controllers

1 Answers  


What is the use of laravel framework?

0 Answers  


How to create & register a service provider in laravel 5?

0 Answers  


Explain me active record implementation?

0 Answers  






Please explain what are the main differences between laravel 4 and laravel 5.x?

0 Answers  


Explain fluent query builder in laravel.

0 Answers  


What is csrf_field () in laravel?

0 Answers  


List the requirements to install valet?

0 Answers  


How to add a middleware in route group?

1 Answers  


What are the requirements for laravel 5.8?

0 Answers  


What do you mean by reverse routing in laravel 5?

0 Answers  


Categories