Databases & Migrations | Laravel For Beginners | Learn Laravel

preview_player
Показать описание
This video will introduce you to databases and migrations in Laravel – Learn one of the most popular PHP frameworks for its advanced features, templating engine, fast commands and security.

📚 New Udemy Course

📲 Let’s plan a meeting

💌 Newsletter

🔥 Resources

Want to learn more?

📋 Table of Content
00:00 - Introduction
00:56 - Database credentials
02:54 - MySQL in the CLI
06:50 - Migrations
08:56 - Creating tables
12:58 - Migration commands

#laravel #laravel8 #php #introduction
Рекомендации по теме
Комментарии
Автор

Ive built an entire laravel app for a project for school, all using your videos. I can't thank you enough Dary.

bustahh
Автор

Thanks for this video. It really saved me from the stress and confusion.

kennedyani
Автор

Love your tutorials. One note: The DESC command you use at 12:45 is meant to DESCRIBE the table and has nothing to do with desc(ending) or asc(ending) in select queries.

wmcmps
Автор

looking forward to learning more from you Dary

devidwood
Автор

this what ive been looking for. thank you

dheluxeTV
Автор

it help me a lots
and what extension do you using go to definition class Laravel in vs code?
example: you click on bluePrint go to blue print class definition

sonysum
Автор

I am having so much trouble with this section, I keep running the "mysql -u root -p" command and have errors like this constantly "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"

Do I need to host the MySQL database somewhere? But it seems like you don't do any of that in this tutorial you just connect with "mysql -u root -p". So what is going wrong with mine, I am running "php artisan serve" in the background and have been fiddling with the .env + database.php file?

georgeosborn
Автор

What DB are the most recommended to use with Laravel and PHP ?

juanortegaa
Автор

If you're getting an error running php artisan migrate, you may need to first run php artisan config:cache. I think this is from other databases and projects run on the machine

mariannehartigan
Автор

mysql -u root -p (( 'mysql' is not recognized as an internal or external command, )) , Ps : my laravel project is installed inside htdocs in xampp folder, why iI can't access mysql in command prompt? thank you.

bassemchrist
Автор

Hello, I am watching over your videos from 1 up to here, and I am having trouble with this one. First is in cmd I can't access mysql -u root -p as per cmd, 'mysql' is not recognized as an internal or external command. And have you deleted the past files you created 'index.blade.php' up to app.scss? Thank you!

bonmarguilleno
Автор

Ik had wel ff moeite om te horen dat je Nederlands was :P

DilieMC
Автор

How to install and access phpMyAdmin in Laravel 11?

spatel
Автор

I'm racking my brain trying to remember where I have learned this (or something very similar) before. It would have to be at least 10 years ago as I've been out of IT professionally about that long. Hogan... PeopleSoft... maybe? Anyone else getting Déjà vu from this?

carlfranz
Автор

Hey Dary I keep getting this error when I run php artisan migrate "could not find driver (SQL: select * from information_schema.tables where table_schema = project and table_name = migrations and table_type = 'BASE TABLE')"

nkuraijagary
Автор

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

gerrardandeminem