2013년 8월 13일 화요일

python mysql connector 설치 및 SQLAachemy 연동

You can use the MySQL Connector/Python
Installation via PyPip
pip install mysql-connector-python
Further information can be found on the MySQL Connector/Python 1.0.5 beta announcement blog.
On Launchpad there's a good example of how to add-, edit- or remove data with the library.



MySQL-Connector Notes

Support for the MySQL database via the MySQL Connector/Python adapter.
MySQL Connector/Python is available at:

Connecting

Connect string format:
mysql+mysqlconnector://<user>:<password>@<host>[:<port>]/<dbname>

http://docs.sqlalchemy.org/en/rel_0_7/dialects/mysql.html#id5

댓글 없음:

댓글 쓰기