Laravel Tutorial for Beginners - Database Connection & Create Table
Vložit
- čas přidán 4. 01. 2018
- How to connect Mysql Database with Laravel. How to Configure database connection in Laravel 5. How to create Mysql table from Laravel application. How to make Database connection in Laravel and create table and migrate table from Laravel application to Mysql database.
Check our new PHP Project with Complete Source Code
PHP Mysql Chat Application with WebSocket - • Chat Application in PH...
PHP Project on Student Result Management System - • Video
Restaurant Management System Created using PHP - • Video
Visitor Management System in PHP Mysql using Ajax jQuery - • Video
For Source Code - www.webslesson.info/2018/01/in...
Thank you. I don’t think I’ve learnt this as easily as you have shown. Too many tutorials on CZcams are confusing
finally someone explain so calmly and very details !!
You the best laravel tutor on CZcams, thanks!
thnaks
This is going to be fun while learning Laravel from you guys Hats Off to you guys you are making so much effort and clear our all questions with great explanation thank you so much !!!
Thank you #sir. Really solve my doubt since I was stack for days.
Nice, This video is very helpful for biggeners
Nice this is what i've been waiting in you..looking forward
a really helpful tutorial. thank you so much
Thanks very much.. good job...
thanks a lot weblesson..!! this tutorial is easily understandable and clearly explaied too .good job.. :)
Thanks man you helps me a lot
nice tutorial, easy to work around with
thanku so much sir..this help me a lot..
worked it ! i love you
I have already updated the DB connection, DB username and p/w in the .env file. Is it really necessary to update these details in the database.php file as well?
this is great. since my laravel version is different and i use mamp, i have to change my port from 3305 to 8889 for the database to be connected
Can anyone help me? I have this error: *SQLSTATE[HY000] [2000] mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication*, this happen when I use php artisan migrate in my data base.
beautiful, we wanna see more laravel videos, please crud laravel and ajax
Thanks for this tutorial
Great Video!
Sir, I am a regular follower of your channel. Please share more tutorials on laravel. Waiting for more videos. :)
Yes Yes Yes i'm with souvik dhar ... we wait more tutorials on laravel
Good mornning, my question is can make:auth be used after the setting up of mysql
THIS GUY IS A GOD, HE IS BETTER THAN MY LECTURER. THANK YOU SO MUCH FOR HELPING ME TO GET MY DEGREE!
WORKS LOVE YOU MATE
Fantastic !!!!
I understand that laravel comes with default users table for login, but if I want to change to new tables say Loginusers what should I do in order to archive that. because I have tried to change provider in database.php in config folder but it is giving me errors
Thanks a lot sir
subscribed and commented for more
Is it possible to migrate already existing tables from phpmyadmin to laravel project? For example, I have created a table in phpmyadmin and now want to access it in my laravel project to perform CRUD operations on it. So, how can I generate migration files for already existing tables?
thank you ,but is this necessery to delete authentification tables ?
Nice Tutorial
Tank You WebLesson
Thank u 😊😊😊
Why would you delete 2 authentification tables from migrations folder??
thanks ever so sir
this was good
sir ,php artisan migrate is not working for me ,illegal/database/ queryexception , couldn't find the driver error is coming , since i coded same as you showed in this tutorial , can you please help me to remove the error
Thnks and regards
Do you have any search coding video demo on this channel ?
nice tutorial
thanks
Got an error when running "php artisan migrate" --- "storage/logs/laravel-2019-07-12.log" could not be opened: failed to open stream: Permission denied". How to fix it?
Grant the user permissions in mysql
I found your tutorial is very helpful for developer from beginner. I enjoying you topics. in this topic you connect with mySql database its fine and interesting. but when i go to connect couple of db in a single application how can i do that such as i want to use mySql as my default db and second one is Sql server for particulate performance. please let me know it will helpful for me.
im having a hard time in this error. PLEASE HELP !!!
"SQLSTATE[HY000] [1049] Unknown database 'laravel-testing' (SQL: select * from information_schema.tables where table
_schema = laravel-testing and table_name = migrations)"
Hello Sir Programmer. Is it easy to code seen and not seen functions like facebook? How can we do this? :) just like when you click the button, it represents to the admin that you have seen and read the message. Thanks. Look forward for your reply. God bless :)
when i connect xammp mysql database i get an error
SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = testing-laravel and table_name = migrations and table_type = 'BASE TABLE')
yeah i get this message too, and don't know how to solve it,
the documentation doesn't explain about it clearly too
so are you already solve the issue?, can i ask, how you solve it?
thanks for this tutorial but could u show us how can we join newly created tables with an existing DB, the goal is to add a new module
Thank you a lot for your helpful videos.
I have a question about the timestamps() -> can we remove it or note?
I love these tutorials, but I'm getting insanely stucked and frustrated at the migration part. I'm using MAMP, and not I've tried for countless hours to make it work, but I simply can't. Even tried the advice from longer down the comment-section. Does anyone know what to do, when the connection is refused?
Very good explain, but for configure in hosting server, what is the exact procedure ?...
what is used to create the database at 0:48 ?
There are some subscribers including me who face PDOException::("could not find driver") Is there anyone who help us that error please?
What if you already have an existing table?
is this the same guy that comes in so many reels
i am facing problem when enterin the command (php artisan migrate) they are mentioned that homestead user is denied
Also I got PDOException::("could not find driver")
hm it doesn't come out on database. I mean, the first name, last name tables?
Please make a laravel ACL series
Sir can you discuss about chart in laravel? If you don't have a time to make a video about chart.. So plzz send me any resources about to chart! I shall be very thankful to you
Nice tutorial but the because of the text to speech you used some things that were said was unclear
How to alter table in laravel?
The one speaking. Is it a robot? From text to speech application?
hello sir, why they did not imigrate "first_name" and "last_name" but the "id" is updated in database? it stated "nothing to migrate" ಥ‿ಥ
can you make videos about projects in Laravel please!
are you lpu student
such great tutorials! but only one question that is still waddling in my head: who is the voice actor of the text to speech?
I really think that it's a robot
big boi you saved my ass big time
Hello Webslesson.. good tutorial but I do make, I've made step by step your advices and I don't achive to conect my laravel framework to XAMPP.. I don't have idea what's going on.. I try to copy the error that git hub notices me:
Illuminate\Database\QueryException : SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) (SQL: select * from information_schema.tables where table_schema = styde_curso and table_name = migrations)
at /home/vagrant/code/Prueba/vendor/laravel/framework/src/Illuminate/Database/Connection.php: 664
660| // If an exception occurs when attempting to run a query, we'll format the error
661| // message to include the bindings with SQL, which will make this exception a
662| // lot more helpful to the developer instead of just the database's errors.
663| catch (Exception $e) {
> 664| throw new QueryException(
665| $query, $this->prepareBindings($bindings), $e
666| );
667| }
668|
Exception trace:
1 PDOException::("SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)")
/home/vagrant/code/Prueba/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php : 68
2 PDO::__construct("mysql:host=localhost;port=3306;dbname=styde_curso", "root", "", [])
/home/vagrant/code/Prueba/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php : 68
I'll wait your help or whomever can help me..
Thanx..
And so am I. Have you gotten any solution that exception yet?
Hello Weblesson. PLease i can't load data to myphpAdmin database with laravel after watching this video and followed the instruction. the error is -SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: insert into `students` (`first_name`, `last_name`, `updated_at`, `created_at`) values (ada, Smith, 2019-09-09 22:32:01, 2019-09-09 22:32:01)). Please help.
yeah, i get this message too,
but why everyone act like they do it easily without any issue?
I-ha-te-rob-ot-narr-a-ti-on...
U should use ya own voice
use your own voice please
His pronunciation of La-RA-cel is painful
Great
nice tutorial
subscribed and commented for more