5/19/2023 0 Comments Navicat 2003![]() ![]() (You can use sudo apt-get install python-mysqldb (for debian based distros), yum install MySQL-python (for rpm-based), or dnf install python-mysql (for modern fedora distro) in command line to download.)įor Mac, you can install MySQLdb using Macport.Īfter installing, Reboot. Please note MySQLdb only supports Python 2.įor Windows user, you can get an exe of MySQLdb.įor Linux, this is a casual package (python-mysqldb). The most used package to do so is MySQLdb but it's hard to install it using easy_install. ![]() Unlike PHP, Only the SQLite driver is installed by default with Python. You must install a MySQL driver before doing anything. ![]() Connecting to MYSQL with Python 2 in three steps ![]()
0 Comments
Leave a Reply. |