helloworld2013
helloworld2013

Reputation: 3164

Django Database Module

I am developing a system that will need to connect from a remote mysql database on the fly to do a specific task. To accomplish this, I am thinking to use Mysql-db module in python. Since the remote database is not part of the system itself I do not prefer to add it on the system core database settings (DATABASES settings.py). Is there a much better way to accomplish this aside from using Mysql-db module? Is there a built in django module that I can use?

Upvotes: 0

Views: 74

Answers (2)

Raja Simon
Raja Simon

Reputation: 10305

For working inside virtualenv you need to install

pip install MySQL-python==1.2.5

Upvotes: 1

helloworld2013
helloworld2013

Reputation: 3164

MySQLdb is the best way to do this.

Upvotes: 0

Related Questions