Laravel 6 Tutorial for Beginners #12 - Connecting to MySQL

preview_player
Показать описание
Hey gang, in this Laravel tutorial we'll see exactly how to create a new MySQL database and then connect to that from our Laravel project.

🐱‍👤🐱‍👤 JOIN THE GANG -
----------------------------------------
🐱‍💻 🐱‍💻 My Udemy Courses:

🐱‍💻 🐱‍💻 Course Links:

🐱‍💻 🐱‍💻 Other Related Free Courses:

🐱‍💻 🐱‍💻 The Net Ninja Community Boards:
Рекомендации по теме
Комментарии
Автор

This might be the most beginner friendly tutorial about Laravel so far.

christiancolewan
Автор

You are the Best Teacher to Teach the laravel course. Each video is of appropriate length, not too fast, not too slow, right at the spot in each video.

madanjitender
Автор

Now I really appreciate how you're making the abstract stuff clear, thanks 👍

jonathanndawula
Автор

You are really awesome Sir! I've been following so many youtubers that teach Laravel to connect to database, but the methods they use are way too complicated and i tried many times wihout success. It is not until i stumbled upon your channel, solve my problem in just 5 minutes. Big Thumps Up to you Sir!

mohammadhaniff
Автор

This might help. After adding variable path I think you need to restart computer first.

pogsnetify
Автор

I'm doing an internship and thanks to your videos I'm learning laravel and Vue.js

adrianjosediazguilamo
Автор

Just wanted to say thanks for this, looking forward to binge watch this wonderful series.
Keep up the good work bro, disregard those dislikes, I believe they aren't intentional.

Greetings from Tanzania 🇹🇿

raymondmichael
Автор

Reopen your editor in case mysql command doesn't work

thatcoul
Автор

remember to configure your port number in the .env file to correspond to that of your php myadmin, you'll see something like this at the top: "🖥️server: MySQL:3308", where the "3308" is the port number.
Next, go to .env, look for DB_PORT and change the number to 3308, or the specified number at your side.

mokeenoch
Автор

you need to restart the vscode after adding path.

turkBT
Автор

Your Laravel series are very helpful to me. You are also a good guide. Big Thanks. Keep on.

zinzinnaing
Автор

On windows if you got '' Couldn't find a driver '' when running php artisan migrate and if you just added mysql path to your env variables, you need to restart your machine for changes to take a place

hammasahmed
Автор

If anyone is having trouble logging into MYSQL @3:18 because they have previously given their 'root' user a password, try this in terminal: 'mysql -u -root -p' and enter the password when prompted

Bambos
Автор

For those who encountered ''zsh: command not found: mysql'' with mac

step1 -> open -e ~/.zshrc
step2 -> paste this line in the .zshrc file and hit save -> export
step3 -> source ~/.zshrc
step4 -> reopen the terminal (important!!)

now it should be okay

uuu
Автор

You forgot to mention that you have to log out of your command-line terminal session then open it back up again for the MySQL PATH user environment variable to take effect...

PumpkinSpicePretzels
Автор

Would LOVE LOVE LOVE if you could do a nodeJS API to SQL SERIES. This would provide a JS based backend that would fit nicely with your Vue and React playlists

JeffBarron
Автор

thanks bro .your tutorials are user friendly

praizcheto
Автор

just restart vscode if its working in normal cmd not in vscode terminal :)

mrniamster
Автор

I still get the error "mysql : The term 'mysql' is not recognized as the name of a cmdlet" when going mysql -u root on terminal

DaisukeABP
Автор

you have to restart the VS Code after adding Path.

worldsharp