Configuring Lucid and our Database Connection

In this lesson, we'll learn how we can configure Lucid to use a different driver other than SQLite; PostgreSQL is shown but MySQL and MSSQL are much the same. Then, we'll set up our connection details so that we can successfully connect to our database.

Published
Feb 21
Duration
4m 3s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

Join The Discussion! (2 Comments)

Please sign in or sign up for free to join in on the dicussion.

  1. Commented 11 days ago

    Hi,

    First, thank you for your video ! That's very clear.
    around 2:20, you say "within the second lesson of this series, we went through and used pgadmin to create new table" … But I've been doing the whole "second lesson" but I did not see when we used pgadmin in here. Did I miss something ? Were can I find the tutorial were you set up the database ?

    thanks

    1

    Please sign in or sign up for free to reply

    1. Commented 8 days ago

      Hi Pierrick, thank you for watching!

      You can find this within lesson 1.1 - "What We'll Need Before We Begin." At the 3:10 mark, we created the database "adonis6" for use in this series, I apologize; it seems I misspoke and said table in this lesson when I meant database.

      0

      Please sign in or sign up for free to reply