How to Connect MySQL database with Django Project | Beginners Tutorial 2024

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 60

  • @WillisSimiyu-rz6lj
    @WillisSimiyu-rz6lj 7 місяців тому +7

    Brooo....hats off...you are a genius....thank you very much...had been stuck for a week

    • @CodingWithKazim
      @CodingWithKazim  7 місяців тому +1

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @cleveroner4517
    @cleveroner4517 6 місяців тому +2

    Hi i´m using oracle SQL developer for the creation of my Db. I have to do the same process?

    • @CodingWithKazim
      @CodingWithKazim  6 місяців тому

      Hi, Yes, the process is similar. You can connect your Django project to an Oracle database using the appropriate database driver and configuration settings. Ensure you have the Oracle database client installed and configure your Django settings to use the Oracle database engine with the connection details for your Oracle SQL Developer-created database.
      Hopefully it will help!

  • @kampion001
    @kampion001 5 місяців тому +1

    Thanks so much as a Mac user finding Mac related content on such matters is hard....❤❤❤❤the thank you

    • @CodingWithKazim
      @CodingWithKazim  5 місяців тому +1

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

    • @kampion001
      @kampion001 5 місяців тому

      @@CodingWithKazim done

  • @lewisomogi6882
    @lewisomogi6882 7 місяців тому

    I love the way you've put it simple😎KUDOS!!🥳

    • @CodingWithKazim
      @CodingWithKazim  7 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos

  • @history_101_
    @history_101_ 2 місяці тому

    that keyboard sound is just so amazing!!

  • @theanonymous92
    @theanonymous92 11 місяців тому

    thank you so much for your help I was struggling with that due to the incompatibility of mysqlclient with windows python verison 3.12 ---- now there were workarounds like binary files but having the latest version of python that was hardly a chance you are a lifesaver

    • @CodingWithKazim
      @CodingWithKazim  11 місяців тому +1

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @sibilvaz
    @sibilvaz 2 місяці тому

    nice job man worked completely fine for me

    • @CodingWithKazim
      @CodingWithKazim  2 місяці тому

      Thanks. Glad to hear that. 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @dourix3708
    @dourix3708 6 місяців тому

    definitively a final project savior

    • @CodingWithKazim
      @CodingWithKazim  6 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos

  • @MelodyWave-z8i
    @MelodyWave-z8i 7 місяців тому +2

    How to export same database SQL from xampp?

    • @CodingWithKazim
      @CodingWithKazim  6 місяців тому

      Hi, To export a MySQL database from XAMPP, you can use the phpMyAdmin tool. Access phpMyAdmin through your web browser, select the database you want to export, click on the "Export" tab, choose the export method (e.g., SQL), and then click "Go" to download the SQL file containing your database structure and data.

  • @titimaelouidad3880
    @titimaelouidad3880 5 днів тому

    thank you soo much you are a life saver

    • @CodingWithKazim
      @CodingWithKazim  5 днів тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @anastasianikolaichik5351
    @anastasianikolaichik5351 Місяць тому

    What I need to install to work with MySQL in Django-project?

  • @sumedhwature5856
    @sumedhwature5856 2 місяці тому

    Great video man you saved my time ❣

    • @CodingWithKazim
      @CodingWithKazim  2 місяці тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @felipeinoue6257
    @felipeinoue6257 15 днів тому

    Thanks man!!!

    • @CodingWithKazim
      @CodingWithKazim  15 днів тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos

  • @msdofficial4302
    @msdofficial4302 День тому

    Thanks brother .

    • @CodingWithKazim
      @CodingWithKazim  Годину тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @uzzmasaiyed
    @uzzmasaiyed 8 місяців тому

    Thankyou it really worked

    • @CodingWithKazim
      @CodingWithKazim  8 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos

  • @hannabykovskaya4528
    @hannabykovskaya4528 4 місяці тому

    Thank You so much! Your video is really helpful👍

    • @CodingWithKazim
      @CodingWithKazim  4 місяці тому

      Glad to hear that!
      Please consider subscribing to the channel for more awesome videos.

  • @jlassicp
    @jlassicp 3 місяці тому

    Thanks man ! that really helped

    • @CodingWithKazim
      @CodingWithKazim  3 місяці тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @kitty-w8v
    @kitty-w8v День тому

    Bhai thank you soo much...

    • @CodingWithKazim
      @CodingWithKazim  День тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @syedhasnainraza290
    @syedhasnainraza290 11 місяців тому

    To the point 🙌

  • @wilbersonalexis1638
    @wilbersonalexis1638 3 місяці тому

    thank you brother good job

    • @CodingWithKazim
      @CodingWithKazim  3 місяці тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @nocap3154
    @nocap3154 12 днів тому

    thanks a lot

    • @CodingWithKazim
      @CodingWithKazim  11 днів тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @rajeshpanda138
    @rajeshpanda138 6 місяців тому

    thanks it so helpful to me

    • @CodingWithKazim
      @CodingWithKazim  6 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @nhatlong5402
    @nhatlong5402 5 місяців тому

    that's great, thank you so much

    • @CodingWithKazim
      @CodingWithKazim  5 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @aronldmanki2035
    @aronldmanki2035 Рік тому +1

    This Video helped a lot!

    • @CodingWithKazim
      @CodingWithKazim  Рік тому

      Glad to know it helped.
      Please consider subscribing the my channel for more awesome videos.

    • @aronldmanki2035
      @aronldmanki2035 Рік тому

      @@CodingWithKazim Sure I am already subscribed

    • @CodingWithKazim
      @CodingWithKazim  Рік тому

      @@aronldmanki2035 Appreciated. Thanks

  • @brmixes_
    @brmixes_ 2 місяці тому

    users folder is not showing in vs code explorer but is in the django folder on desktop

    • @brmixes_
      @brmixes_ 2 місяці тому

      i did migrations before users

  • @timjames4306
    @timjames4306 Рік тому +1

    How can one connect existing mysql database ?

    • @CodingWithKazim
      @CodingWithKazim  Рік тому +4

      To connect an existing MySQL database to a Django project, you need to:
      1. Update your project's settings.py file with the database configuration, specifying the host, port, username, and password for your MySQL database.
      2. Run python manage.py inspectdb > models.py to generate Django models from the existing database tables.
      3. Adjust the generated models as needed, and then use them in your Django project.
      Hopefully I answer your question. If you have any further questions please let me know.

  • @syeedtalha1550
    @syeedtalha1550 6 місяців тому

    thanks man

    • @CodingWithKazim
      @CodingWithKazim  6 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos

  • @abhijeetkumar45
    @abhijeetkumar45 7 місяців тому

    Thanks bhai

    • @CodingWithKazim
      @CodingWithKazim  7 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos