connect mysql database with python -
I'm very new to Python Python I need to connect MySQL databases with Python, I really like about it There is no information. I am using Python 1.7.
Tell me how to connect MySQL database to Python What settings do I need to fill the settings?
I've goggle it but I can not find the right answer, please tell me how to get it.
I have now what are the next steps for running this command?
sudo apt-get install python-mysqldb I do not know more about this
Well you have just established the MySQL database interface for Python
pip freezeBe sure to run and seeMySQL-Python == 1.2.5.)
and your settings.py
statistics = {'default'}: {'ENGINE': 'django.db. 'Root', 'HOST': 'localhost', 'port': '',}} backend. MSQL ',' NAME ':' Your database name ',' USER ':' root ',' password ':' root '
Comments
Post a Comment