Using MySQL Databases With Python Course

Sdílet
Vložit
  • čas přidán 23. 07. 2024
  • How to Use MySQL Databases With Python! These days everything uses a database, and MySQL is one of the most popular databases out there. FREE and Open Source, Mysql is a great database for just about all your needs.
    Likewise, Python is one of the most popular and powerful programming languages today. Pairing the two together is a powerful combination!
    In this course you'll learn the basics of using MySQL with Python.
    You'll learn how to create databases and tables, add data, sort data, create reports, pull specific data, and more.
    For this courses I'll assume you already have a basic knowledge of Python programming, but you don't need to know anything at all about databases or MySQL to take the course.
    You'll learn...
    ✅ What Is A Database
    ✅ How To Install Python
    ✅ How To Install Git Bash Terminal
    ✅ How To Download MySQL
    ✅ How To Install MySQL and Workbench
    ✅ How To Install MySQL Connector
    ✅ How To Connect to Database in Python
    ✅ How To Explore The MySQL Workbench
    ✅ How To Create A Database
    ✅ How To Create A Table
    ✅ How To Insert One Record Into Table
    ✅ How To Insert Many Records Into Table
    ✅ Understanding Data Types
    ✅ How To Select Data From Table
    ✅ How To Format Our Results
    ✅ How To Use The Where Clause
    ✅ How To Use The Like Clause and Wildcards
    ✅ How To Use AND and OR
    ✅ How To Updating Records
    ✅ How To Limit and Order Results
    ✅ How To Delete Records
    ✅ How To Delete (Drop) A Table And Backups
    And More!
    I'll walk you through all of this and more, step by step. If you have any question along the way, I'm here to answer them.
    If you've ever wanted to understand databases or use them in your Python programs, this is the course for you.
    We'll download everything you need for this course for free, you don't need any special tools!
    I'll see you on the inside!
    -John Elder
    ▶️ Learn to Code at Codemy.com
    Take $22 off with coupon code: youtube
    ✅ Get The Full Course On Udemy for $9.99
    bit.ly/2M35V8M
    ▶️ Join My Facebook Group:
    bit.ly/2GFmOBz
    ✅ Subscribe To My CZcams Channel:
    bit.ly/2IGzvOR

Komentáře • 221

  • @mr.RAND5584
    @mr.RAND5584 Před 4 lety +50

    37:40 code start

  • @rankzkate
    @rankzkate Před 4 lety +4

    Thank you so much for this video.I had literally pulled all my hair trying to understand this python-mysql thing in vain.Your video saved me!!!!Thank you so much

  • @SeamusMcNeil
    @SeamusMcNeil Před 4 lety +5

    Having watched a stack of your videos I shall be subscribing shortly to your paid tutorials. I really like your delivery and style. Simple, easy to follow, you are not doing the usual American style which is normally loud, dont pause to take a breath, and being delivered at a speed only SuperWoman could keep up with. lol ;) All the very best and so glad I found your channel - I can honestly say that MySQL and Python has never sounded so easy.
    Cheers
    Jim

    • @Codemycom
      @Codemycom  Před 4 lety +1

      Thanks Jim, I appreciate it :-)

    • @SeamusMcNeil
      @SeamusMcNeil Před 4 lety

      @@Codemycom ...and just subscribed; using the discount code. Very excited to be joining you in my coding adventure.
      Cheers and thanks again
      Jim

    • @Codemycom
      @Codemycom  Před 4 lety +1

      @@SeamusMcNeil Awesome, just saw your membership come thru and emailed you a welcome letter. Enjoy!!

    • @blingclem
      @blingclem Před 4 lety

      Completely agree

  • @nichhikara5779
    @nichhikara5779 Před 2 lety

    followed the steps, worked like magic. tested on windows 10, python 3.8.10 on Nov 30-2021

  • @danielhenthorn7589
    @danielhenthorn7589 Před 3 lety

    I am vey grateful for these courses... It is my best time spent all week!

  • @erixgutierrez6552
    @erixgutierrez6552 Před 3 lety +20

    I never thought I could learn so much from Walter White himself, I'm just waiting for the video when we start cooking our own Meth

  • @rayansultan2630
    @rayansultan2630 Před rokem

    hello, when i want to call or write ls or python database.py on my subgit text it shows my that :there is no file call database.py but i have already save it on my computer,so where is the problem??

  • @alhusarium7621
    @alhusarium7621 Před 3 lety

    perfect & good job man ! BIG LIKE

  • @abdullahalasfar9970
    @abdullahalasfar9970 Před 2 lety

    Hi
    I tried to connect with database.py but it throws an error saying:
    ImportError: No module named mysql.connector
    i tried mysql.connector.python and .rf after pip installing all of them.
    I googled a lot but no success.

  • @mr.problem_solver2908
    @mr.problem_solver2908 Před 3 lety +1

    Sir you are a very generous and kind minded person. I really like each of your videos. Sir, would you like to make a tutorial on machine learning using Python in the future?

    • @Codemycom
      @Codemycom  Před 3 lety +3

      I have a playlist with a few already, and planning more in the future

  • @elderan3
    @elderan3 Před 4 měsíci

    I iwhsh to say that i'm learning a LOT with your contents! Congrat, Very nica content! Slaude from Brazil!

  • @jiviteshpandab6194
    @jiviteshpandab6194 Před 2 lety

    im facing issue while pip install! i tried all the three you said but it still shows error
    it says: Collecting mysql
    Using cached mysql-0.0.3-py3-none-any.whl (1.2 kB)
    ERROR: Could not find a version that satisfies the requirement connector (from versions: none)
    ERROR: No matching distribution found for connector

  • @bochraakrout7840
    @bochraakrout7840 Před 4 lety

    hello , I am facing a problem with paython, Mysql and docx so I have this word document and I am reading from it so my goal is to read from word document(x) and search for (x)in the data base in a specific column and if it existes i copy the next column in another .py file and i am doing all of that with paython so whene i write mycursor.execute("SELECT code FROM table1 WHERE human_code REGEXP 'doc.tables[1].rows[1].cells[1].paragraphs[1].text'")
    i have nothing however doc.tables[1].rows[1].cells[1].paragraphs[1].text' gives me the same exact row in the database i have

  • @cgme7076
    @cgme7076 Před 2 lety +6

    34:10 - When the coding starts

  • @aaronphilip2918
    @aaronphilip2918 Před 3 lety +1

    I love your videos! I just had a doubt. While connecting the python program to the database im running into a few errors. I think it is because my program cannot locate the database which I made using the mySQL workbench. Can i do anything to make it recognize my database?

    • @Codemycom
      @Codemycom  Před 3 lety

      yeah, you have to tell it the location of the database.

  • @kartavianmacrath7219
    @kartavianmacrath7219 Před 3 lety

    So I am trying to follow along, even reinstalled mysql, but the server I created will not start and the workbench freezes when trying to start the server, so when I reinstalled, now the installer cannot finish because the server will not start... I am going to uninstall again and reinstall, in a fresh directory and see if that solves my problem

  • @MrJhalexis
    @MrJhalexis Před 4 lety

    One question: When I open mysql workbench, it doesn't display schemas on the navigator section. It only shows MANAGEMENT > INSTANCE > PERFORMANCE but SCHEMAS is missing. Why is that? I really appreciate if you could answer this as I am really enjoying this introduction tutorial?

    • @Codemycom
      @Codemycom  Před 4 lety

      No idea. Continue on, does everything else work?

  • @saadahmed-pp2dl
    @saadahmed-pp2dl Před rokem

    also a quick question what is the difrence bitween the udemy cource on mysql python and this video?

    • @Codemycom
      @Codemycom  Před rokem

      The udemy course is complete, this video is not.

  • @parsabahrambeik4381
    @parsabahrambeik4381 Před 3 lety +1

    This is an excellent teaching method. Thanks

  • @jawherballoumi6766
    @jawherballoumi6766 Před rokem

    you helped me alot man thank you

  • @MrNiidea1234
    @MrNiidea1234 Před 4 lety +2

    Good one dude!!

  • @ABMA79
    @ABMA79 Před 3 lety +1

    That is a nice lesson, but please comment about the right mysql-connector that should be installed. Some of them get installed, but generate errors when executed. I think viewers might face some difficulties getting mysql-connector to work from the first try.
    I love your videos.
    Thanks a lot.
    Keep up the good work.

    • @Codemycom
      @Codemycom  Před 3 lety

      I explain in the video to try each one till one works. That’s all there is to it.

  • @HungBMHero
    @HungBMHero Před 2 lety

    I have a Question. I'm using pip install mysql-connector-python. And then when I do "import mysql.connector" and run the command, it said "module 'mysql' has no attribute 'connector'". But when I do "import mysql.connector as mysqlConnector" it worked again. Can you explain why?

    • @Codemycom
      @Codemycom  Před 2 lety +1

      No, that doesn't make any sense to me...you must be using some weird tools that I don't use.

  • @mchess7157
    @mchess7157 Před rokem

    Thanks for your video. It's really helpful! 💪
    I'm wondering if it is safe to put password inside the python code? In the other tutorials I saw it was done the same way. But it seems to me a bit disturbing to use the password as plain text.

  • @mohamedel.shazly3411
    @mohamedel.shazly3411 Před 3 lety +1

    thank you for this amazing lesson

  • @NoName-lq7kt
    @NoName-lq7kt Před 3 lety

    Anyone know how to fix "WARNING: Ignoring invalid distribution -ip"??? please tell me I can just uninstall and reinstall something stackexchange and google is failing me. I get this error 5 times anytime I try to install or uninstall something through pip. Using windows 10.

  • @TheGrandmaster1
    @TheGrandmaster1 Před 4 lety +1

    I clicked on this thing, and scrubbed through for a total of about 15 seconds. I then went to Udemy and bought the whole damn thing, all within 45 seconds. It was exactly what I needed. This man was exactly what I needed. Will be buying most of his courses.

    • @Codemycom
      @Codemycom  Před 4 lety

      Thanks Michel, I'm glad you found what you were looking for!

    • @TheGrandmaster1
      @TheGrandmaster1 Před 4 lety

      @@Codemycom Thank you too. Keep up the great content. I love learning and you're a good teacher.

    • @Codemycom
      @Codemycom  Před 4 lety

      @@TheGrandmaster1 Will do!

  • @eyunmortensen727
    @eyunmortensen727 Před 2 lety

    HI John, I've had weird problems with Python on both of my windows pcs lately. I get an PATH error. I've watched this video several times in the past, making database projects. I've never had these path problems. So after reinstalling python on my PC "remembering to check the (ADD to PATH box)", I can't even pip freeze to see anything. on my personal PC i did remove everything that had the name python. the error looks like this "Fatal error in launcher: Unable to create process using '"c:\program files\python39\python.exe" "C:\Program Files\Python39\Scripts\pip.exe" freeze': The system cannot find the file specified." when i pip freeze. ? is there a short answer to this problem ?

    • @Codemycom
      @Codemycom  Před 2 lety

      were you using virtual environments? Often they need to be recreated if you reinstall python.

  • @mohammadmoinulhaq6799

    Nice one, keep it up dude

  • @mahdiolamaei4021
    @mahdiolamaei4021 Před 3 lety

    i have a problem can someone help me? i have mysql db on cpanel and when i want to use it with python i don't know what to put in host in my python file.. can you help me?

  • @mtp_gaming2023
    @mtp_gaming2023 Před 4 lety

    very helpfull to me. many thanks

  • @danedmdan
    @danedmdan Před 2 lety

    Hi Codemy, Hope new year is going well. Silly questions possibly., 1) Is this video half of the paid online course?
    2) If so, is the full course where some basic reports can be learned and that could help someone who may do data science or analysis later?
    3) I am unemployed at moment, is this still true: The Full Course On Udemy for $9.99 ?
    Thank you much either way.
    All the best.

  • @TJPactronix
    @TJPactronix Před 4 lety

    Thank you

  • @alvinlorejas2687
    @alvinlorejas2687 Před 4 lety +1

    thank you sir!

  • @albertgayanilo3253
    @albertgayanilo3253 Před 3 lety

    Hello Sir I have followed your code in sublime text and git. But when I write the code in git this syntax: "python database.py" it says:
    Traceback (most recent call last):
    File "C:\Users\agaya\AppData\Local\Programs\Python\Python39\lib\site-packages\
    mysql\connector
    etwork.py", line 509, in open_connection
    self.sock.connect(sockaddr)
    ConnectionRefusedError: [WinError 10061] No connection could be made because the
    target machine actively refused it
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "C:\mysql\database.py", line 3, in
    mydb = mysql.connector.connect(
    File "C:\Users\agaya\AppData\Local\Programs\Python\Python39\lib\site-packages\
    mysql\connector\__init__.py", line 179, in connect
    return MySQLConnection(*args, **kwargs)
    File "C:\Users\agaya\AppData\Local\Programs\Python\Python39\lib\site-packages\
    mysql\connector\connection.py", line 95, in __init__
    self.connect(**kwargs)
    File "C:\Users\agaya\AppData\Local\Programs\Python\Python39\lib\site-packages\
    mysql\connector\abstracts.py", line 716, in connect
    self._open_connection()
    File "C:\Users\agaya\AppData\Local\Programs\Python\Python39\lib\site-packages\
    mysql\connector\connection.py", line 206, in _open_connection
    self._socket.open_connection()
    File "C:\Users\agaya\AppData\Local\Programs\Python\Python39\lib\site-packages\
    mysql\connector
    etwork.py", line 511, in open_connection
    raise errors.InterfaceError(
    mysql.connector.errors.InterfaceError: 2003: Can't connect to MySQL server on 'l
    ocalhost:3306' (10061 No connection could be made because the target machine act
    ively refused it)
    what will i do to connect to my localhost sir? your solution would be highly appreciated.

  • @blingclem
    @blingclem Před 4 lety

    Fantastic guide!

  • @mariegarcia6555
    @mariegarcia6555 Před 3 lety +3

    Hi john , your lessons are quite tough but i learned a lot. you're such a wonderful instructor how can i buy a codemy tshirt ?

  • @arielsilver7005
    @arielsilver7005 Před 3 lety

    great video champ

  • @mohamedselim6547
    @mohamedselim6547 Před 4 lety

    Thanks for the video... super
    The problem I had was fixed by fixing the version of MySQL-connector to 8.0.19, this was required to connect to python (pycharm)

    • @Codemycom
      @Codemycom  Před 4 lety

      Glad you got it sorted out

    • @mohamedselim6547
      @mohamedselim6547 Před 4 lety

      Thanks for the response.
      I see, this might be easier.. but I could't get it done correctly:
      mycursor.execute("USE " variable")
      Variable => database name
      mycursor.execute("SELECT * FROM variable.table_name")
      The [variable] is the database
      Is this possible?
      Thanks in advance

  • @advays9815
    @advays9815 Před rokem

    Hi John, I am getting this error. Could you please help me fix it? Thanks
    mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported

    • @Codemycom
      @Codemycom  Před rokem

      You need to install and use one of the other connectors like I mention in the video

  • @heitlerremlalfaka4063
    @heitlerremlalfaka4063 Před 4 lety +1

    Sir, i have isntalled WAMP (meaning both MySQL and MariaDB), when i connect through mysql.connector.connect it connects me to MariaDB how do i change it to MySQL.

    • @Codemycom
      @Codemycom  Před 4 lety +1

      No idea what you did...there's got to be a setting somewhere you can play with.

    • @heitlerremlalfaka4063
      @heitlerremlalfaka4063 Před 4 lety

      @@Codemycom gota way around, when running WAMP both MySQL and MAriaDB are at service, i just stopped MariaDB

    • @Codemycom
      @Codemycom  Před 4 lety +1

      @@heitlerremlalfaka4063 Cool

  • @HackingElectronics
    @HackingElectronics Před 4 lety +1

    how to check if mysql table exists with python

  • @brahimmellal3227
    @brahimmellal3227 Před 3 lety

    you explain verry well

  • @Sahil_1.
    @Sahil_1. Před 3 lety

    While clicking the tkinter button, I got an error: Due to failed processing format-processing; Python "StringVar" cannot be converted to a MySQL type. Please help me out.

    • @Codemycom
      @Codemycom  Před 3 lety

      I have videos on MySQL and tkinter, check the playlist

  • @jonathan404_
    @jonathan404_ Před 3 lety +1

    Please help!!!!
    This is my stupid error
    mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported

    • @jonathan404_
      @jonathan404_ Před 3 lety

      @Jide Olabisi Yes, i fixed that. just download the 8.0.17 mysql version

  • @AdityaPandey-rt5ez
    @AdityaPandey-rt5ez Před 4 lety

    Its working in the idle,
    but when i use it in files, this error comes :
    ModuleNotFoundError: No module named 'mysql.connector'; 'mysql' is not a package

    • @Codemycom
      @Codemycom  Před 4 lety +1

      Try one of the other connectors, like I say in the video

    • @Buttnakdd
      @Buttnakdd Před 4 lety +1

      It is because you have mysql-connector-python installed only on your idle venv ,
      create a new venv or just type python -m pip install mysql-connector-python into git bash

  • @reubenortiz1568
    @reubenortiz1568 Před 2 lety

    Do you have an updated Udemy discount code? The one listed does not work.

  • @barrjohnm
    @barrjohnm Před 3 lety

    how do you uninstall python on macOS?

  • @roopsinghshekhawat4699

    Today it will found that mysql 8.0.20 is showing on site it is the updated version of mysql so can we download that that (it will work or not)

  • @dhananajykathuria7970
    @dhananajykathuria7970 Před 2 lety

    hi john greetings! I am getting an error surfed through internet and couldn't resolve it. Please help me resolving it. ------ "raise errors.NotSupportedError(mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported"

    • @Codemycom
      @Codemycom  Před 2 lety

      Like I said in the video, you probably have the wrong connector installed. Also, I googled that error, and there were like 100 answers immediately.

    • @dhananajykathuria7970
      @dhananajykathuria7970 Před 2 lety

      okay so i found a solution. Only one of the three packages mentioned by you in the video will work. Installing multiple packages won't do any good. So one will have try the packages one by one

    • @Codemycom
      @Codemycom  Před rokem

      @@dhananajykathuria7970 Yeah, that's what I said in the video.

  • @rihcyojcraft5271
    @rihcyojcraft5271 Před 4 lety

    mysql place holders are not working idk why, it says : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%s,)' at line 1

    • @Codemycom
      @Codemycom  Před 4 lety

      It's telling you...you have a typo in your code at line 1. That shouldn't be on line one though, right?

    • @rihcyojcraft5271
      @rihcyojcraft5271 Před 4 lety

      @@CodemycomI understood the problem ...Thnx

    • @Codemycom
      @Codemycom  Před 4 lety

      @@rihcyojcraft5271 Cool

  • @saadahmed-pp2dl
    @saadahmed-pp2dl Před rokem

    all the tutorials and cources are verry grate the explanaitions is also grate every thing is supper clear but the most anoing thing is why do you use sublime text editor insted of vscode like using the terminal is so anoing to repeat to run every time you have to run your python file and you gota open a difrent window to run it vscode makes it so easy to run and followup

    • @Codemycom
      @Codemycom  Před rokem

      Because VSCode is bad for python, and terrible for newbies...who I teach. People have problems with it every day and are constantly asking for my help with it. Sublime never has a problem, literally ever.

  • @carlosvazquez2710
    @carlosvazquez2710 Před rokem

    Gracias

  • @prasanthrao5784
    @prasanthrao5784 Před 4 lety +1

    I'm getting this error when I try to set connection:
    mysql.connector.errors.ProgrammingError: 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
    Please help!!!

    • @Codemycom
      @Codemycom  Před 4 lety

      Do what the video says and try one of the other connectors.

    • @morixxyleth
      @morixxyleth Před 3 lety

      I am having the same issue if it was solved for you pls explain how.

  • @beep_69
    @beep_69 Před 4 lety +3

    11:28 if only i have saw this video earlier and saved myself hours

    • @athegreat88
      @athegreat88 Před 3 lety

      I feel you man. I have been in the same situation. I actually quit and didn't look at python for 7 days because my libraries weren't installing. Then later I came across another video which talked about why clicking that thing is important. I uninstalled python, reinstalled and clicked that path thing this time and everything worked perfectly.

  • @hasanaqbayli149
    @hasanaqbayli149 Před rokem

    Thans a lot for this Great Tutorial, Just one question : Why my Git Bash Takes too much time to execute commands?

    • @Codemycom
      @Codemycom  Před rokem +1

      No clue...what are you doing that's different from the video?

  • @LonlyGamerX
    @LonlyGamerX Před 3 lety

    Incase some of you run into an error like "mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported" the best way to fix this error is to uninstall all the connects like so pip uninstall mysql-connector
    , pip uninstall mysql-connector
    -python, pip uninstall mysql-connector
    -python-rf and then try install one and testing it. for most it should work with pip install mysql-connect-python but if it doesnt make sure to uninstall it else you will get errors

  • @smrutisucharitanath4058

    how can i dynamically create a database, tables and columns?

    • @Codemycom
      @Codemycom  Před 4 lety +1

      In what way? The video shows you how to create a database and tables and columns...right?

  • @ebeldekoning5331
    @ebeldekoning5331 Před 4 lety

    Question: when i download mysql it doesnt ask for me to make a password it just asks me what my password and username are but i didn't make a password so I dont understand why it does that

    • @DCMPSaliva
      @DCMPSaliva Před 3 lety

      start the installer again without uninstalling and choose to reconfigure

    • @ebeldekoning5331
      @ebeldekoning5331 Před 3 lety

      @@DCMPSaliva THANKS! it works now

    • @DCMPSaliva
      @DCMPSaliva Před 3 lety

      @@ebeldekoning5331 no worries man . I had the same issue (I’m new to sql )

  • @nilothpalbhattacharya8230

    does that version of MySQL work for 64 bit OS

  • @zxxczczczcz
    @zxxczczczcz Před 5 lety

    nice

  • @devtha3642
    @devtha3642 Před 4 lety

    can I link it with Tkinter and accept entries in the database?

    • @Codemycom
      @Codemycom  Před 4 lety

      Yes, check my tkinter playlist, I show you how.

  • @sketchinstig2351
    @sketchinstig2351 Před 2 lety

    Really enjoyiing your videos, thanks...
    Having some trouble connecting..
    $ pip install mysql-connector
    $ pip install mysql-connector-python
    $ pip install mysql-connector-python-rf
    response for all 3 is "bash: pip: command not found"

    • @Codemycom
      @Codemycom  Před 2 lety

      You need to reinstall python and click the "add python to path" box during installation, then restart your terminal.

  • @ritumehta2780
    @ritumehta2780 Před 4 lety

    Hi, While installing MYSQL, I am getting the following message: No compatible servers were found. You'll need to cancel this wizard and install one..... could you pls guide....

    • @ChillMood69
      @ChillMood69 Před 4 lety

      I'm experiencing this to @codemy.com please help

    • @Codemycom
      @Codemycom  Před 4 lety +1

      @@ChillMood69 Copy the exact error and search it at Google. You'll find lot's of solutions easily.

    • @ChillMood69
      @ChillMood69 Před 4 lety

      And one last thing @codemy.com Why are my workbench dont work or cant install to my laptop?

    • @Codemycom
      @Codemycom  Před 4 lety

      @@ChillMood69 No clue...you're doing something wrong... try downloading and installing it again

  • @papasedokarajeh6183
    @papasedokarajeh6183 Před 3 lety

    What is a good spread sheet that is free to download

  • @hagiangtruong4173
    @hagiangtruong4173 Před 3 lety

    How to prevent the code repeatedly without put the code into the command? I mean that code only runs 1 time or ignore the IDE when the code repeated
    Any time to the next code, he put the previous codes into the command --> It seems silly

  • @roopsinghshekhawat4699

    how i will start in python 3.7 (32 bit) or i will to downloand another app

    • @roopsinghshekhawat4699
      @roopsinghshekhawat4699 Před 4 lety

      is it working in the idle python 3.7 (32bit) please resolve my problem

    • @Codemycom
      @Codemycom  Před 4 lety

      @@roopsinghshekhawat4699 What problem? You can use any version of python you want. Don't use idle, use the tools I use in the video if you're having problems.

    • @roopsinghshekhawat4699
      @roopsinghshekhawat4699 Před 4 lety

      @@Codemycom suggest me any version

    • @Codemycom
      @Codemycom  Před 4 lety

      @@roopsinghshekhawat4699 Just use the latest one

  • @vahidrafiyi
    @vahidrafiyi Před 2 lety

    all of things were OK! thank you veryyy much :)
    but i think the course was very slow...

    • @Codemycom
      @Codemycom  Před 2 lety

      You can watch it at any pace you want...did you not know that?

    • @vahidrafiyi
      @vahidrafiyi Před 2 lety

      @@Codemycom yes i knew, but I mean, instead of summarizing, you went into a lot of margins, almost half of the class time was margins for me.
      know that I love you and I saw the rest of your classes and they were very good...

    • @Codemycom
      @Codemycom  Před 2 lety

      @@vahidrafiyi margins? lol no.

  • @lamiyatasnim8789
    @lamiyatasnim8789 Před rokem

    use pip3 install mysql-connector-python if facing problem to connect

  • @praveenkumar-em8gh
    @praveenkumar-em8gh Před 4 lety

    we can use the anaconda (spider) without uninstalling the oldest version for installing mysql

  • @SMMLaw
    @SMMLaw Před rokem

    Hi - excellent video!! I went to sign up for all your courses for the discounted rate of $27 for all of your courses? but I don't think you don that any more??

    • @Codemycom
      @Codemycom  Před rokem

      Still works, you have to select total membership and then enter the coupon code when checking out.

    • @SMMLaw
      @SMMLaw Před rokem

      @@Codemycom Thanks! I have joined up now 🙂

  • @JeswinRoy321
    @JeswinRoy321 Před 4 lety

    Unable to download connector odbc, keeping saying status: failed. Tried multiple times.

    • @Codemycom
      @Codemycom  Před 4 lety

      Restart your computer. It's likely a network problem or a problem with your computer's firewall. (Are you on a VPN maybe?)

    • @JeswinRoy321
      @JeswinRoy321 Před 4 lety

      @@Codemycom Can you suggest any other solutions?

    • @Codemycom
      @Codemycom  Před 4 lety

      @@JeswinRoy321 Use one of the other connectors I mention in the video

    • @JeswinRoy321
      @JeswinRoy321 Před 4 lety

      @@Codemycom "No compatible servers were found. You'll need to cancel this wizard and install one"

    • @Codemycom
      @Codemycom  Před 4 lety

      @@JeswinRoy321 No clue what you're doing. Scrap it all delete everything and start over. Watch the videos again, follow closely.

  • @kartiksharma-yw7qf
    @kartiksharma-yw7qf Před 3 lety

    I tried to install pip but its saying command not found

    • @Codemycom
      @Codemycom  Před 3 lety

      Then you need to reinstall python and check the add python 3.8 to path box during installation

  • @mupreport
    @mupreport Před rokem

    36:29
    50:39 create database testdb in mysql workbench

  • @shubhanshusharma5372
    @shubhanshusharma5372 Před 3 lety

    How to connect to cloud database

    • @Codemycom
      @Codemycom  Před 3 lety +1

      Your specific cloud database provider will have instructions for you

  • @whitebird365
    @whitebird365 Před 5 lety +2

    God bless you

  • @danedmdan
    @danedmdan Před 2 lety

    Hello Codemy. Great video!! I understand everything really well. I installed everything you mentioned, except I am using PyCharm as my text editor. Regardless of the text editor, have you gotten this following error before? :
    No module named 'mysql'
    I successfully used pip to install the first 2 connector examples you gave, and my pycharm IDE recognized fast the import statement. But when I start to type mysql.connector, i get the error above.
    Any idea why this is? Any help would be great so I can play with creating dbs, tables, and using data. Thank you again!

    • @Codemycom
      @Codemycom  Před 2 lety +1

      It's because you're using Pycharm. Use the tools I use in the video.

    • @danedmdan
      @danedmdan Před 2 lety

      @@Codemycom Thank you again. It seems to work great as long as I create database.py in another editor initially, and then open in PyCharm just for editing. (versus creating in PyCharm initially) Hope this can be of help.

    • @Codemycom
      @Codemycom  Před 2 lety +1

      @@danedmdan Or just don't use PyCharm...seems like garbage to me

    • @danedmdan
      @danedmdan Před 2 lety

      @@Codemycom Thank you!

  • @ovidiugobrrrr8171
    @ovidiugobrrrr8171 Před 3 lety

    So u here huh, wanna make a carrier huh, good luck i believe in u

  • @namanparmani9969
    @namanparmani9969 Před 4 lety +1

    None of the commands to install the MySQL connector work for me. What else can I do?

    • @Codemycom
      @Codemycom  Před 4 lety

      Did you try all three connectors?

    • @namanparmani9969
      @namanparmani9969 Před 4 lety

      Yes

    • @LGxProducitons
      @LGxProducitons Před 4 lety

      Naman, I had this same issue, this worked for me, I had to upgrade my pip installer (" python -m pip install --upgrade pip") and I ran this command in gitbash afterwards "pip install mysql-connector-python" and it lets me import mysql.connector. I hope this helps for you.

    • @tictac2686
      @tictac2686 Před 4 lety

      I would recommend to create virtual environment and install the second conector. This work for me

  • @sunildoshi6141
    @sunildoshi6141 Před 4 lety

    Do i have to pay to finish the rest of the tutorial?

  • @sfmambero
    @sfmambero Před 4 lety

    Python coding starts ~47:00

  • @blingclem
    @blingclem Před 4 lety

    I don't understand the need for git bash for this? Just use the windows command line?

    • @Codemycom
      @Codemycom  Před 4 lety +1

      You can, but the command line sucks

    • @AlgoManiacZ
      @AlgoManiacZ Před 4 lety

      @@Codemycom Is there any major difference between the two? (except for the fact that git bash works in mac as well)

    • @Codemycom
      @Codemycom  Před 4 lety

      @@AlgoManiacZ Yes, they are completely different.

  • @vincent_hall
    @vincent_hall Před 3 lety +9

    17:52 downloading MySQL.
    22:06 installing MySQL.
    29:50 connecting Python to MySQL.
    34:06 writing first Python code.
    N. Americans are always "going ahead and" doing things.
    Pointless words but I like it.

  • @bipultimes613
    @bipultimes613 Před 3 lety

    vs code as an editor could have been great

  • @LAPOVETS
    @LAPOVETS Před 3 lety

    please, make timecodes
    thanks!

    • @Codemycom
      @Codemycom  Před 3 lety

      You'll have to buy the course at codemy.com to get that :-p

  • @prozacsf84
    @prozacsf84 Před 3 lety +1

    How much time you will talk, and install stuff m8 :), still watching though

    • @Codemycom
      @Codemycom  Před 3 lety +1

      lol if you'd rather not watch it, then don't. Maybe go complain about someone else's FREE video.

  • @ayushyadav4412
    @ayushyadav4412 Před 3 lety

    you remind me of breaking bad

  • @user-li5ls7gu5z
    @user-li5ls7gu5z Před 5 lety +3

    очень много воды. по сути по работе с mysql ничего не сказано

  • @kaushikkalesh1678
    @kaushikkalesh1678 Před 3 lety +1

    The tutorial starts from 36:10 (technically)

    • @Codemycom
      @Codemycom  Před 3 lety +1

      technically it starts at 0

    • @kaushikkalesh1678
      @kaushikkalesh1678 Před 3 lety +1

      @@Codemycom I meant that's when the real coding part starts

  • @muhammadali-cv3uq
    @muhammadali-cv3uq Před 3 lety

    continue the same type of course from edureka at 15:42

  • @maza6020
    @maza6020 Před 2 lety

    is it just me or does it feel like the same way you code sqlite3

    • @Codemycom
      @Codemycom  Před 2 lety

      Sure, it's very similar...all the sql's are similar

  • @maulikpatel3975
    @maulikpatel3975 Před 3 lety

    Tell me one thing: Is your beard original??

  • @shansank7156
    @shansank7156 Před 3 lety

    48:53

  • @0xe0b69e
    @0xe0b69e Před rokem +1

    Visual Studio code is much better code editor

  • @morball6668
    @morball6668 Před 3 lety

    VARCAR STOP SAYING VARCAR I'M CRYING

    • @Codemycom
      @Codemycom  Před 3 lety

      why is that funny?

    • @morball6668
      @morball6668 Před 3 lety

      @@Codemycom no, I am crying because it sounds weird. It's not funny mister codemy

  • @DavidFoxVideos
    @DavidFoxVideos Před 4 lety

    Heisenberg.

  • @deki90to
    @deki90to Před 4 lety

    What??? Earth is not flat??? :(((

  • @hidaya1538
    @hidaya1538 Před 2 lety

    Thank you