#73 Python Database Connection | MySQL

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2018
  • Check out our courses:
    Spring and Microservices Weekend Live Batch : bit.ly/spring-live-weekend
    Coupon: TELUSKO10 (10% Discount)
    Master Java Spring Development : bit.ly/java-spring-cloud
    For More Queries WhatsApp or Call on : +919008963671
    website : courses.telusko.com/
    Instagram : / navinreddyofficial
    Linkedin : / navinreddy20
    TELUSKO Android App : bit.ly/TeluskoApp
    Discord : / discord
    Python MySql Example
    MySql Workbench and MySql Connector video: • #72 MySQL Workbench Se...
    Python Tutorial to learn Python programming with examples
    Complete Python Tutorial for Beginners Playlist : • #1 Python Tutorial for...
    Python Tutorial in Hindi : • #1 Python Tutorial | I...
    Github :- github.com/navinreddy20/Python-
    Java and Spring Framework For beginners with Spring Boot : - bit.ly/3LDMj8D
    Java Tutorial for Beginners (2023) :- bit.ly/3yARVbN
    Subscribe to our other channel:
    Navin Reddy : / @navinreddy
    Telusko Hindi :
    / @teluskohindi
    Editing Monitors :
    amzn.to/2RfKWgL
    amzn.to/2Q665JW
    amzn.to/2OUP21a.
    Donation:
    PayPal Id : navinreddy20
    Patreon : navinreddy20
    www.telusko.com/contactus
  • НаукаНаука

Комментарии • 546

  • @krishnajunk
    @krishnajunk 5 лет назад +50

    I watched whole of these Python playlist and learnt the Python for FREE. Thanks a lot. Appreciate your teaching and work :-)

  • @meghanam7550
    @meghanam7550 3 года назад +18

    I learnt python by seeing all your videos . Hats off to you sir 👏

  • @swadhikarc7858
    @swadhikarc7858 5 лет назад +10

    Couple of years ago I used to be your channel fan for Java. However, now you're rocking in python. You're definitely a master of all trades. Kudos you talent

  • @SumanthLazarus
    @SumanthLazarus 4 года назад +7

    Thanks mate. What is the difference/purpose between using 'mysql-connector' vs 'sqlalchemy' ?

  • @selcukdoven
    @selcukdoven 5 лет назад +7

    Hi, Firstly I want to thank you for this useful video series. Could you please release the Oracle/Mango database connection and basic queries. A lot of people use these databases. Thank you so much.

  • @nortonnnantikill403
    @nortonnnantikill403 5 лет назад +16

    Well explained thank you very much Sir

  • @agbojoraphael7868
    @agbojoraphael7868 5 лет назад +15

    Great job Navin. Your series have been really helpful. I've learnt a lot. I'd appreciate if you can do also on Big data using python. Looking forward to it so much.

  • @avisekdey2224
    @avisekdey2224 5 лет назад +6

    Really nice sir. Content is very good and to the point.

  • @jdiez7092
    @jdiez7092 3 года назад +35

    Probably the best explanation of how to connect to MySQL ever !!

  • @ivansaiji
    @ivansaiji 4 года назад +1

    Thank you so much! Simple and to the point! Worked like a charm!

  • @PavanKumar-by8dc
    @PavanKumar-by8dc 4 года назад +1

    Thanking You for kind this Stuff and Encouragement...this is really best to everyone.. You are a real master, without skip any , and u thought as everything which is related to Python...

  • @krishnaKumar-zi6ct
    @krishnaKumar-zi6ct 4 года назад

    Clear steps to establish connection and try initial queries. Thanks Navin!

  • @omkartaur3887
    @omkartaur3887 5 лет назад +3

    Your all series videos are awesome and brilliantly explained. Can you also please make tutorial on ' tkinter GUI ' ?

  • @shanuchauhan4814
    @shanuchauhan4814 5 лет назад +1

    Best video on you tube ,Your Explanation is very good
    child can understand your tutorials easily

  • @Negroblancobala
    @Negroblancobala 5 лет назад +1

    Thanks Navin for the simple and informative video.

  • @sapl923
    @sapl923 4 года назад +1

    i am learning and understanding better than my whole month classes thanku sir

  • @darshaanaghicha8023
    @darshaanaghicha8023 2 года назад +10

    One correction, if you are watching in 2022 @04:00 you might be getting "Authentication plugin 'caching_sha2_password' is not supported" error.
    Just uninstall mysql-connector & install mysql-connector-python.

  • @ryan.aquino
    @ryan.aquino 4 года назад

    What is better for production builds? and large scale applications. Do we use ORM like SQLAlchemy? or just a connector. If performance is the metrics

  • @kerthikeyan7346
    @kerthikeyan7346 3 года назад +1

    really you are alien......helped me a lot everytime I search something I am ending up with your solution....its really working out for me....

  • @deepasakthi9653
    @deepasakthi9653 4 года назад

    You really made it simple, thanks a tonn

  • @ashishanjana7403
    @ashishanjana7403 4 года назад

    how to use sublime here do i need to install it first? if so, from where please guide me sir...
    thanks a ton for this series...lots of respect for you and your work...

  • @vivekgupta5041
    @vivekgupta5041 3 года назад

    Very useful and helpful video to get started with python and MySQL !!!

  • @jayantdikshit4181
    @jayantdikshit4181 4 года назад

    Hi Navin,
    What is the procedure to connect with Windows RDP machines through python?

  • @roshnimehta9070
    @roshnimehta9070 2 года назад

    Thanks a lot it helped me .I am trying from so many days I had seen lot of video but never work. But this video clear my problem.

  • @dudu_bubu14
    @dudu_bubu14 3 года назад

    Superb sir Thank you so much without your video it is not possible to connect python with mysql

  • @maitreyeedey5960
    @maitreyeedey5960 2 года назад +1

    your videos are really helpful to me.. thank you very much

  • @joansmichael1862
    @joansmichael1862 5 лет назад

    navin sir,may know which notes or book should i refer for python from basics to advanced

  • @wasteyourtime02
    @wasteyourtime02 2 года назад

    this guy is the best i wish i had found this channel earlier

  • @abhinaytanguturu9394
    @abhinaytanguturu9394 4 года назад

    can I get column names also be read in python bcz i need to use them for my code as. well

  • @Chhiling08
    @Chhiling08 5 лет назад +1

    I always watch your video sir u r very good teacher 😊😊

  • @vaishakhkp5612
    @vaishakhkp5612 5 лет назад +1

    This is really helpful, could you please explain about posting data from a html for to the database for user registration and login using python.

  • @alaydyngholechragh5678
    @alaydyngholechragh5678 5 лет назад

    hello
    one question
    which database i should use for python for create web application??
    a database with best speed an performance !!
    i use windows 10 .. and IDE Visual studio Code
    i want a database for python Which is not necessary to change it later to another database

  • @worldofai6406
    @worldofai6406 4 года назад +2

    can we use Xampp myphpadmin instead of MySQL workstation?

  • @ValorantEdits
    @ValorantEdits 3 года назад +5

    Who all are watching 1 day before Practical exam

  • @yigitgenc1734
    @yigitgenc1734 4 года назад

    while putting in the "host" variable you put localhost there but if you were hosting this database on a website what were you supposed to put? The websites link or the ip address of that website?

  • @Rajadahana
    @Rajadahana 2 года назад

    I don't know anything about MySQL, so I got the message. I need to learn it, first I will finish this playlist and learning MySQL will be my next endeavour.
    A BIG thank you to the whole team behind this effort.

    • @MSAbhi-gj8pn
      @MSAbhi-gj8pn Год назад

      Can you plz share from where you are learning SQL?

  • @vaibhavsharma399
    @vaibhavsharma399 3 года назад

    so will the procedure be same in case of connecting with a live database server?

  • @Family_12362
    @Family_12362 10 месяцев назад +1

    Super Explanation Sir👌👉.

  • @rojertufani131
    @rojertufani131 3 года назад

    Thank you so much sir.. I have run this code in VS code and it is still working

  • @misikoala6368
    @misikoala6368 2 года назад

    Wow, you are an angel! Thanks for the teaching.

  • @rizaldycesarquimno1058
    @rizaldycesarquimno1058 4 года назад +3

    When I import the mysql.connector it raises ModuleNotFoundError error?

  • @mycreations3452
    @mycreations3452 5 лет назад

    Tq so much sir for continuing this series

  • @sunkojuanusha2821
    @sunkojuanusha2821 4 года назад +1

    Shall i write this program in pycharm please let me know. I have tried to write in pycharm but getting an error as no module named 'mysql '

  • @BringMe_Back
    @BringMe_Back 2 года назад

    GOD sir ji : i watched both the videos , its much helpful

  • @Rocky-me7qh
    @Rocky-me7qh 5 лет назад +3

    You are great sir

  • @vandanaarya1465
    @vandanaarya1465 2 года назад

    Great video and platform to learn quick and easily.

  • @monnika5
    @monnika5 4 года назад

    Gr8 video helped alot for my practical

  • @jsj14
    @jsj14 3 года назад

    How do I send the output parameter for a stored procedure from python? It keeps breaking saying I sent more args if I send an additional 0 or '@out' and if I don't send it, it asks for it.

  • @aashankkalia4464
    @aashankkalia4464 2 года назад

    Very informative. Thank You!

  • @premstein16
    @premstein16 5 лет назад +29

    Navin, can't find the pip3 installation vdo which you where mentioning.

    • @alcaravan555
      @alcaravan555 4 года назад +2

      I had the same situation, the way I solved was to go where python is located, in my case c:\users\myname\python\pip3 install mysql-connector, I hope this helps

  • @prabhakarvadakattu534
    @prabhakarvadakattu534 3 года назад

    Which software are you using to record
    the videoo to get the dask top screen and your self at the same time. Please reply sir

  • @codingwithparamesh7496
    @codingwithparamesh7496 3 года назад

    The video was very nice. All it compromises of useful informations.

  • @auchityaprakashsinha
    @auchityaprakashsinha 3 года назад

    Hello, I have made a face recognition model using open CV. I am accessing the trained data from my computer itself (local server). Now I wanted to extract my data from Cloud insted of local server. What should be my approach and how should I modify my code.
    Please guide me with this.

  • @prashantsatpute
    @prashantsatpute 5 лет назад +1

    Hi Navin, Im your great Fan. Thanks for your tutorials.. :)
    Can you please help me write a sql statement in python where i have a
    table with 2 columns SrNo (Identity Column) WtName (NVARCHAR).
    my statement : sql2='''Insert into CaseID(WtName)
    values('%s')'''%(Sub_Activity)
    does not work.. no error but does not insert a row in sql server
    database. Thanks in advance..

  • @sarveshdakhane6454
    @sarveshdakhane6454 5 лет назад

    You made sooooo easy.... thank you sir

  • @Indu_Ravi10
    @Indu_Ravi10 2 года назад

    Thank you so much sir ,It was helped me a lot. ✨☺️Keep going.

  • @rajibguha6960
    @rajibguha6960 5 лет назад +2

    After install mysql.connector show error into Pycharm such as "ModuleNotFoundError: No module named 'mysql.connector'". Now pl give suggestion, what to do ?

  • @PITCLLCUSA
    @PITCLLCUSA Год назад

    Awesome and very easy to connect, only I struggle while installing mysql connector

  • @general_awarenesses6018
    @general_awarenesses6018 4 года назад

    thank you sir . It is really wonderful...

  • @Rayn_roy
    @Rayn_roy 4 года назад

    Sir But how can we insert values by using sublime into MySQL workbench i getting an error please make your vedio it's so helpful to us

  • @kamleshzanjad263
    @kamleshzanjad263 Год назад

    Great learning... It was great learning experience.

  • @muzmmilpathan7781
    @muzmmilpathan7781 5 лет назад

    Awesome sir you have unbelievable power

  • @razuahmedrafi8905
    @razuahmedrafi8905 3 года назад

    so nice of you bro!

  • @zakinaqvi998
    @zakinaqvi998 2 года назад

    Thanks for uploading such an informative video

  • @rizaldycesarquimno1058
    @rizaldycesarquimno1058 4 года назад +1

    Is the installation of my-sql-connector one time or everytime you have will connect my-sql to python?

    • @pawanggamer6937
      @pawanggamer6937 3 года назад

      one time only
      but you need to import module in python while using mysql

  • @arindammallick9034
    @arindammallick9034 5 лет назад +4

    please make a video on python with mysql using xampp

  • @kanishkmewal3885
    @kanishkmewal3885 3 года назад +10

    Visual Studio is Baap! 🔥
    Using it since i was 13 years old

    • @Ian-pc2mn
      @Ian-pc2mn 3 года назад +1

      how do
      you connect with vs

    • @abhinavthapliyal8322
      @abhinavthapliyal8322 3 года назад

      tu kon hota hai be baap banane wala.

    • @News_Shorts-
      @News_Shorts- 3 года назад

      @@abhinavthapliyal8322 hmm.. but even i use it

  • @aakarshjain7026
    @aakarshjain7026 5 лет назад +4

    This is good for me

  • @oscarvargas4992
    @oscarvargas4992 2 года назад

    this video was very successful for me

  • @arslankabeer3951
    @arslankabeer3951 5 лет назад +1

    my sublime is showing an error for fetchall and fetchone method why?

  • @watchout1435
    @watchout1435 4 года назад

    if your cmd cant find pip or pip3 just go to python's official website and download the latest version of python and then try pip on your cmd , worked for me

  • @lakshit6429
    @lakshit6429 3 года назад

    thankyou very very very muchhh sir i was too much confused with this concept

  • @pavantanniru
    @pavantanniru 4 года назад

    txns a lot finally i got it and i subscribed tooo😎😎😎😎

  • @hafizabdulrehmaniqbal3968
    @hafizabdulrehmaniqbal3968 5 лет назад +6

    Help to fix pip3 install
    Its giving syntax error

  • @sagarrao79
    @sagarrao79 5 лет назад +4

    Pychram or Sublime error:
    if you have mysql 8.0.15 version , then you need to have mysql connector-8.0.15
    Open Pycharm go to File->Settings-> Preferences->Project->Python Interpreter inside Pycharm, and search for mysql-connector-python and select version as 8.0.15 from dropdown list and click in install.
    for Sublime:
    go to command prompt, uninstall any old mysql connector
    pip3 uninstall mysql-connector
    C:\Users\Sanju>pip3 uninstall mysql-connector
    pip3 install mysql-connector-python
    C:\Users\Sanju>pip3 uninstall mysql-connector-python

    • @gamkht
      @gamkht 5 лет назад

      Thank you very much! I had the problem ' Authentication plugin 'caching_sha2_password' is not supported' and this fixed it for me

  • @maimster4256
    @maimster4256 2 года назад

    You're good and I like it!!

  • @dathashiva
    @dathashiva 3 года назад

    I'm a new user of ubuntu for installation of MySQL taken the whole day. Atlast it worked.

  • @vidyasagar7544
    @vidyasagar7544 5 лет назад

    Excellent sir
    Can you do this in Aws RDS using Boto Module

  • @PavanKumar-by8dc
    @PavanKumar-by8dc 4 года назад +1

    Inserting values into tables , after the line mycursor
    insert = ' ' ' INSERT INTO STUDENT VALUES ( 106 , ' PAVAN ' ) ' ' '
    mycursor.execute( insert)

  • @vijaybhaskar689
    @vijaybhaskar689 3 года назад

    This is great. I hope you the similar process for IBM DB2. If you have that video can you
    Please share 😊

  • @amoghranganath4155
    @amoghranganath4155 4 года назад +1

    Sir, the best guide you are, simple and to the point

    • @amoghranganath4155
      @amoghranganath4155 4 года назад

      Sir, for Python, we need to do pip3 install mysql-connector-python

    • @PavanKumar-by8dc
      @PavanKumar-by8dc 4 года назад

      @@amoghranganath4155 that is for installation in PyCharm , not for Sublime text

  • @SID-ly6jh
    @SID-ly6jh 5 лет назад

    Hello sir , I have written some code in python in IDLE(and saved it has .py) then how to connect that code to MySQL database run it there .Sir just tell me the method to connect it......pls

  • @ajithpkumar1507
    @ajithpkumar1507 2 года назад

    Great explanation

  • @umamaheshkummari7987
    @umamaheshkummari7987 5 лет назад +9

    description box link didn't help to solve pip3 not found error.Please help us.Thanks in advance.

    • @maniksayal2496
      @maniksayal2496 5 лет назад +1

      hey uma I was also getting the same problem.
      To solve it just see the video of setting up the path video from this playlist and then try cmd prompt pip3/3.7(depends upon the version you are using) install MySQL-connector

    • @john16584
      @john16584 5 лет назад +2

      please use this command on cmd ""pip install mysql-connector-python"" this will solve the issue.thanks

  • @mahendrapandey3962
    @mahendrapandey3962 4 года назад

    Great man👨

  • @polariscamarillo6184
    @polariscamarillo6184 4 года назад +1

    can you make it inside the class ? i can connect to that but when i put it on class i cant get it to work. thanks

  • @kirubeltekle9553
    @kirubeltekle9553 10 месяцев назад

    Thank you great developer

  • @rupamkarmakar2315
    @rupamkarmakar2315 Год назад

    Thanks for the video

  • @mcbotface
    @mcbotface 3 года назад

    Naveen Sir, I did a custom installation of MySQL in which I chose MySQL Shell and Server but forgot to install Workbench and Connector. Could you please tell me how to install them without uninstalling and reinstalling the server and shell of MySQL. 👼

  • @salihaider6100
    @salihaider6100 4 года назад +3

    Make a video on beautifulsoup/webscrapping. Please.

  • @mayanegi6839
    @mayanegi6839 5 лет назад +1

    "pip3" is not working in my system. Sir can you please tell how to make it work or any alternative method.....

  • @akhilratnachettri2982
    @akhilratnachettri2982 3 года назад

    Thanks for the help.

  • @KoreaRwkz
    @KoreaRwkz 4 года назад

    What does heavy and lightweight mean when describing IDEs?

  • @lonewolfcoding5208
    @lonewolfcoding5208 3 года назад

    what to do if i want to implement python app with database to the consumer?
    how do i combine database and python to 1 file so i can put it inside the rar?

  • @madhun5418
    @madhun5418 5 лет назад +1

    Hi sir, how do we understand business problems in python?

  • @briantoo4390
    @briantoo4390 3 года назад

    wow well explained

  • @urs_shannu
    @urs_shannu 4 года назад

    Guys I installed Microsoft sql studio. Does it work for sublime editor? If yes how to import that sql with command in sublime?

  • @moazelsawaf2000
    @moazelsawaf2000 5 лет назад

    Thanks sir navin ❤

  • @informationsciences744
    @informationsciences744 4 года назад

    Hi. I have a problem in sending the user input to the database (mysql) in python GUI. What should I do? Please help.

  • @nityasoni7433
    @nityasoni7433 3 года назад +1

    Sir pls explain database connectivity with pycharm also....I m using pycharm from ur starting video