MySQL

Deploy Django to Openshift 3 Powered by MySQL and Gunicorn

If you want to use Openshift for deploying Django, you can follow this post and simply do that. You don't need to learn Kubernetes. We will use docker file only. No other fancy stuff. Also, before starting, I am also hoping you are little bit familiar with Openshift 3 and oc tools. Download oc clients from here So let's get started: Contents of this Post In the blog, we are going to discuss about how we can deploy production grade django server, using mysql as Database. We are also going…

Keep reading

Categories: Django, Openshift, MySQL, Gunicorn, Docker, technical-blogs

Make .CSV file using MySQL and Python

In this blog, I am going to show how to develop an application by which we can make .csv files from MySQL database using Python. Now, let us start by getting data from Database. Lets say we have a DB names csv_test and it contains a table named test with fields id and name, and for testing purpose let us have some values inserted into it like this: +------+--------+ | id | name | +------+--------+ | 1 | test_1 | | 2 | test_2 | | 3 | test_3 | +------+--------+ Now, to get all…

Keep reading

Categories: CSV, Python, MySQL, technical-blogs