#64 Python Database Connection | MySQL




Python MySql Example MySql Workbench and MySql Connector video: https://www.youtube.com/watch?v=WDEyt2VHpj4 Python Tutorial to learn Python …

Original source


39 responses to “#64 Python Database Connection | MySQL”

  1. Got error: mysql-connector-python 8.0.15 requires protobuf>=3.0.0, which is not installed windows 8.1
    after installing mysql-connector on cmd prompt. (Couldnt find out how to install this protobuf?)
    While making db connection in pycharm (mydb = mysql.connector.connect(host, user, passwd) got this error: ModuleNotFoundError: No module named 'mysql'
    Any idea how to proceed?

  2. "Authentication plugin '{0}' is not supported".format(plugin_name))

    mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported

    I got this error.
    "sir, please help in resolving this error"

  3. 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

  4. Hello, i have installed mysql-connector in D drive and my python file is saved on C drive and executing the same code above, i get the message like "Traceback (most recent call last):

    File "C:/Users/PC/.PyCharmCE2018.2/config/scratches/scratch_2.py", line 1, in <module>

    import mysql.connector

    ModuleNotFoundError: No module named 'mysql'"
    Please help me with this.

Leave a Reply