Quantcast
Channel: MySQL Forums - Connector/Python
Browsing all 384 articles
Browse latest View live
↧

transactions in python mysql connector (no replies)

Hey all, I'm pretty confused, I hope someone can help me. On this page, it explains how to insert data using the python connector:...

View Article


Can I use MySQL Connectot/Python with 3.4.1 release? (2 replies)

Thanks you!

View Article


No password assigned during MySQL install (2 replies)

Hello, I just installed MYSQL and the Python MySQL connector on my Mac OSX Pro. The installations appeared to have proceeded smoothly. During the install I was not prompted to enter a MySQL password....

View Article

Getting XML and/or JSON strings (objects) using the Connector/Python. (2...

Is there any way of getting XML and/or JSON strings (objects) using the Connector/Python today? Thanks Ernest Bonat, Ph.D.

View Article

What happen when conn pool size reached max? (2 replies)

Hi, What happen to the caller/client thread execution if it requests a connection but the pool has already reached to it's max size? Will the caller thread block until the next connection is available...

View Article


mysql.connector.django is leaking connection (2 replies)

Hi, I am using latest python-connector 1.2.2. I see a connection been created inside DatabaseWrapper.__init__ from mysql/connector/django/base.py file (line 465). I don't see how this connection is...

View Article

Connector/Python with mysqlfabric shard is very slow to execute statement (no...

The Connector/Python with mysqlfabric shard is very slow. a shard table on many servers, when call set_propery(),it close the connector and add it to the pool, when getting cursor, it reinit anoter...

View Article

Error when executing any query on CentOS 5.4: "Failed parsing EOF packet" (no...

Hello, I'm assuming I can post issues regarding MySQL Connector/Python here. Any help in debugging this issue is appreciated. I'm afraid though that it's caused by my environment, making it harder to...

View Article


Exception error when trying to close mysql connection (no replies)

Hi, I get this when calling the function to close the connection . . . File "mysql\connector\locales\__init__.pyc", line 54, in get_client_error ImportError: No localization support for language 'eng'...

View Article


Help with getting Python Connector working (no replies)

After trying many things I continue to get errors using the Python Connector. MySQL works fine in my installation & has for a few years. Python as well. The Path & other system variables seem...

View Article

mysql connector python. error at instalation (no replies)

hello, run the file .msi , a window opens and closes, and only installs three text files. the other way, error message: python 2.7 required which was not found in the registry. modify records, nothing...

View Article

what I'm wrong (2 replies)

try: conn = mysql.connector.connect( host=investcfg.host, user=investcfg.user, password=investcfg.pw, database=investcfg.db, charset=investcfg.charset) except mysql.connector.Error as err: print...

View Article

mysql.connector not supported? (no replies)

I using lubuntu 14.04 in a hyper-v virtual machine. I installed mysql-connector-python 2.0.2-1ubuntu14.04. It work find with my python 2 script. I try whether I can migrate my script to python 3.4. I...

View Article


Python Connector Create Tables Error (2 replies)

Hi all, I am a new user and in need of some help. I have posted the code in question below. I am receiving the following error code. I have checked the syntax and verified against the tutorial given...

View Article

mysql.connector.django doesn't work with django 1.8 (3 replies)

It looks Database backend API has been changed in ver 1.8. https://docs.djangoproject.com/en/1.8/releases/1.8/#database-backend-api Had any plan to fix this?

View Article


mysql.connector for binary file save to blob field (2 replies)

Hi, everyone. It is my first time to ask for help here. I use Python 3.4 to try save some imaging file to the longblob field of mysql table. The codes are: ==== import mysql.connector filename =...

View Article

Python Connector (1 reply)

Hello All, I am having an issue with the Python connector that I was hoping someone might be able to shed some light on. First off I am running Kubuntu 14.04 LTS with Python 3.4.0 and MySQL 5.5.43. I...

View Article


Error 10053 (lost connection) at COMMIT after long SELECT (no replies)

I'm running a long job in Python which has done a SELECT which returns about 2.2 million rows. The rows are read with "readmany" in blocks of 25,000. A block of rows is read about every 10 minutes....

View Article

Configuring MySQL Connector/Python to Function with Python 3.4 (no replies)

I installed MySQL Connector/Python. When I type in python and then enter "import mysql.connector" it works. Now that is with Python 2.7.6. To access Python 3.4.0, I typed in python3. I then entered...

View Article

Adding new sproc to the exisiting database using connectors? (no replies)

Just a little explanation needed. The project I'm currently working on is mostly pythonic, by this reason I'll likely use mysqldb python connector or sqlalchemy. The question arose when I've tried to...

View Article
Browsing all 384 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>