mysql-python
mysqldb interfaceError
I have a very weird problem with mysqldb (mysql module for python). I have a file with queries for inserting records in tables. If I call the functions from the file, it works just fine; but when try[详细]
2023-02-26 23:21 分类:问答When to close cursors using MySQLdb
I\'m building a WSGI web app and I have a MySQL database. I\'m using MySQLdb, which provides cursors for executing statements and getting results. What is the standard practice for getting and closing[详细]
2023-02-26 06:16 分类:问答Error Installing Python MySQLdb on Windows 7
Please see the following stacktrace, is this a permissions issue? C:\\Project\\MySQL-python-1.2.3>python setup.py[详细]
2023-02-26 02:14 分类:问答Registry error when installing MySQL-python into virtualenv using pip and easy_install
The pip and easy install commands (install MySQL-python)provide the massive error listed below. I\'ve been looking around for an answer a while now on this site and through google. The recurring answ[详细]
2023-02-25 21:19 分类:问答Trouble Setting Up MySQLdb Module
I\'m pulling my hair out over here trying to set up MySQLdb on my Mac in order to connect to a remote MySQL server.[详细]
2023-02-25 04:01 分类:问答Python MySQLdb: connection.close() VS. cursor.close()
If I use MySQLdb to connect to MySQL-Server through Python. I create a connection and a cursor like this:[详细]
2023-02-20 22:17 分类:问答How can I install MySQL-python via pip/virtualenv for Python 2.5 on a Linux system with Python 2.6?
I am trying to set up a virtualenv for a Django project. It needs MySQL-python. I\'m trying to replicate the production environment, which uses Python 2.5. My Ubuntu desktop has Python 2.5. I can inst[详细]
2023-02-20 14:41 分类:问答Verify the connection with MySQL database
I using MySQLdb for access to mysql database from python. I need to know if connection with database is still alive... are there any attribute or method 开发者_如何学JAVAin order to do this???[详细]
2023-02-19 22:12 分类:问答MySQLdb python problem refresh database
I have wrote a python daemon for read a database... I do the next: db.connect(\'开发者_JAVA技巧localhost\', user, pass, database)[详细]
2023-02-19 07:45 分类:问答GCC error when installing MySQL_python 1.2.2 (Mac OS 10.6 Snow Leopard)
I\'m trying to开发者_JS百科 install MySQL_python 1.2.2 (I specifically need this version, not the current 1.2.3) on Snow Leopard, and getting this error below.[详细]
2023-02-15 15:22 分类:问答