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

Django 1.10 + mysql connector 2.1.4 (no replies)

I have been trying to get django 1.10 to work with mysql for a while now and i have managed to get it working with mysql connector i ran into a few issues that i have been able to figure myself. A...

View Article


The performance is worse than pyMysql? (no replies)

I used pyMysql before. Now, I tried to use connection pool, and found there was a native pool implementation in the official connector. But, I compared their performance, and found MySQL...

View Article


Duplicate PRIMARY key problem (no replies)

environment: mysql 5.7 on rhl6 mysql-python/connector python 2.7.12 on windows, python 2.6.6 on rhl6 I have a time-series fact table with primary key on ID and a timestamp column. The ID column is a...

View Article

Upgrade Connector/Python (no replies)

Hi, I installed python connector a while ago using source distribution on Solaris. I see there are some security fixes to python connector and I would like to update it to the latest version. How...

View Article

MySQLInterfaceError: SSL is required but the server doesn't support it (no...

I am using MySQL Python/Connector 2.1.4 (with C extension) on an Ubuntu 16.04 64-bit system with Python 3.5.2 / 2.7.12. I have the following code - import _mysql_connector conn =...

View Article


Connector for python 3.5 in Windows (no replies)

When will we get a connector for version 3.5? Br Håkan

View Article

Error when executing MSI (no replies)

I have MySQL and Python on my computer. I want to write statements in Python scripts that extract (SELECT) data from a MySQL schema and other statements that INSERT data into MySQL tables. My version...

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 (1 reply)

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 (1 reply)

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

MySQL C API installation Fails (no replies)

Attempting to build mysql-connector-python with the C extensions enabled. Python module builds correctly, but warns: "MySQL C API installation invalid (my_config.h not found)" I've tried with both...

View Article


Connection problem, error message (no replies)

Hi, I would appreciate some help. I have been using a mySQL database called "evette" in my veterinary clinic. This database is installed on the reception computer and I can access it from my...

View Article

ImportError: No module named connect‏ (3 replies)

I have been trying to install the MySQL Connect module for a day and a half. First I got an error saying that "No module named mysql" was installed. After a lot of trial and error I got passed that. I...

View Article


Queries with python and html (no replies)

I am new to scripting. I am using python and html to create a web interface to update and query mysql on CentOS 6.6. I am using MySQL version 14.14, distibution 5.1.73, python version 2.6.6, apache...

View Article

MySQL Connector wont install with python 3.5 (4 replies)

I'm on Centos 7. I was running anaconda, but mysql connector doesnt play nice with anaconda. So, after installing the MySQLconnector rpm, I removed anaconda and installed the official Python 3.5....

View Article


pip install (2 replies)

Hi, I am developing one API server for my project and I am using 'pip' to install relevant modules in python environment. I used mysql-connector-python 2.0.4 (inside of PIP) but this gave me some...

View Article

MySQL-connector through SSH-tunnel (no replies)

Hi everybody, I am using windows 7 with Python 3.4 (with Pycharm) and try to acces a remote mySQL-database through SSH with a private key, just like it is working with MySQL-Workbench in the following...

View Article

python connector (no replies)

Why are the python connectors restricted to the exact version number? When is the connector for 3.5 comming.

View Article
Browsing all 384 articles
Browse latest View live


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