how to get Mysql for python files

7
MySQL Python http://www.mysqlpython.com

Transcript of how to get Mysql for python files

Page 1: how to get Mysql for python files

MySQL Python

http://www.mysqlpython.com

Page 2: how to get Mysql for python files

MySQL Python

MySQL is a leading multi user, open source and multithreaded DBMS. It is mostly popular on the web. MySQL is a special parts of most popular Linux, Apache, MySQL, PHP platform. Presently it is owned by Oracle. MySQL can be found on every important OS platforms. This program runs under BDS Unix, Windows, Linux and Mac. There are two versions of MySQL – MySQL server system and MySQL embedded system.

Page 3: how to get Mysql for python files

Features of MySQL Python

➲ Easy to install and simple to use.➲ Supports various SQL features, like, stored

routines, foreign keys, views and triggers.➲ Doesn't supports blocking of

mysql_fetch_row() as occured in MySQL.➲ Delivers better performance and compatible

to MySQLDB.➲ It has true async interface.➲ This open source project is actively

maintained.

Page 4: how to get Mysql for python files

How to Install MySQL Python

For installing it in Windows, you will need to do the followings :-

➲ Firstly, install Python setuptools.➲ Make sure that, MySQL Developer components are

installed.➲ Now,download MySQL msi installer version, then select

“Developer components” in custom setup, which will install c:/programfiles/MySQL/MySQL server 5.1/include, lib/debug and lib/opt for you.

➲ Now, uncompress MySQL-python-1.2.3c1.tar.gz into a directory.Open the command window and make change to the directory.

➲ Now, run “setup.py build” and then run “setup.py install”.➲ Now, you are done, test it in Python.

Page 5: how to get Mysql for python files

MySQL Python

Page 6: how to get Mysql for python files

Common Errors of MySQL Python

➲ Self.conn=MySQLdb.connect(host=”192.168.0.175”,user=”pipeline”,db=”rocket”)

➲ File “build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 129, in __init__

➲ File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 74, in Connect

➲ File "build/bdist.linux-x86_64/egg/MySQLdb/converters.py", line 160, in <module>

You can though, fix these errors by reinstallation of MySQL Python after uninstalling it.

Page 7: how to get Mysql for python files

MySQL Python

Thank You

http://www.mysqlpython.com