• Tuesday , 20 November 2018

Laravel Tutorial for Beginners – Database Connection & Create Table

Code Canyon



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 …

Original source

3d Ocean

Related Posts

12 Comments

  1. Linards Ramza
    September 11, 2018 at 18:59

    Why would you delete 2 authentification tables from migrations folder??

  2. charvi mehta
    September 11, 2018 at 18:59

    a really helpful tutorial. thank you so much

  3. Kayleigh Minnie
    September 11, 2018 at 18:59

    What if you already have an existing table?

  4. Ahsan Kalim
    September 11, 2018 at 18:59

    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

  5. Larry Betancourt
    September 11, 2018 at 18:59

    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:

    IlluminateDatabaseQueryException : 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..

  6. Monkey Baboo
    September 11, 2018 at 18:59

    good tutorial

  7. Jerson MV
    September 11, 2018 at 18:59

    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 🙂

  8. GIOVANNY GARCIA HOLGUIN
    September 11, 2018 at 18:59

    beautiful, we wanna see more laravel videos, please crud laravel and ajax

  9. souvik dhar
    September 11, 2018 at 18:59

    Sir, I am a regular follower of your channel. Please share more tutorials on laravel. Waiting for more videos. 🙂

  10. Rod Anthonie Bongosia
    September 11, 2018 at 18:59

    Nice this is what i've been waiting in you..looking forward

  11. hamza mughal
    September 11, 2018 at 18:59

    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 !!!

  12. LaLa Dahl
    September 11, 2018 at 18:59

    Please make a laravel ACL series

Leave A Comment

You must be logged in to post a comment.