News

Install python mysql package by running the below command pip install pymysql To connect to mysql server find the DATABASES line in django settings.py, that looks like something like below.
Step 3: Install “mysql-connector-python” This package allows Python to connect to MySQL Databases. The following PIP-based command can be used to install it: $ sudo pip3 install mysql-connector-python ...
After installing mariadb-dev package (with mariadb as a dependency) it can find mysql_config and succesfully install mysql-python. On other distros (debian based) its enought to install libmysqlclient ...
I chose MySQL 3.22.32 as the database and Python 1.5.2 for CGI scripting. I have played with Perl but prefer the feel of Python. The installation procedure for these programs has been explained ...