python mysql client sample connection using kerberos (on windows) (no replies)
I'm having trouble finding any samples on connecting to a mysql db using the python client with sso (kerberos) from windows. Is there any chance documentation on this front can be added?
View ArticleSSL routines:ssl_choose_client_version:unsupported protocol (no replies)
I have mysql-connector-python==8.0.29 installed on a windows desktop machine (python 3.7) connecting to an mysql server (mySQL server 5.6.10 on an EC2 instance) and connection pools are created and...
View ArticlePython mysql-connector doesn't handle numpy.nan (1 reply)
Hi, My workflow requires that I bulk insert pandas dataframes to a mysql database. pandas uses numpy.nan to represent null values in a dataframe's float columns. Unfortunately, when converting said...
View ArticleOverflowError: Python int too large to convert to C long (2 replies)
Hi, Can someone help me with this problem? The code below I ran on python 3.9.7 with mysql-connector-python 8.0.23 has no any problem....
View ArticleProblem with inserting data into MySQL (no replies)
Hi I want to read the data of a sensor and transfer it to MySQL local host with "mysql.connector". The problem is that it reads the data as a list containing 500 data (that is, it reads 500 to 500,...
View ArticleI cannot implement python along with MySQL integration (2 replies)
I am facing issue that I can not implement MySQL in my system what would be main reason
View Articlemysql.connector.errors.InterfaceError: 2003 (2 replies)
here is not easy to leave the code, so I post in here https://stackoverflow.com/questions/75304961/mysql-connector-errors-interfaceerror-2003 I write a .py script can extract mysql data and print it...
View ArticleUpgrade to a newer protobuf version (3 replies)
In Apache Airflow we have mysql-conneector-python integration that currently holds us back from upgrading to protobuf 4. Having limitation to Requires-Dist: protobuf (<Requires-Dist: protobuf...
View ArticleConnection Arguments - host (2 replies)
Hi How to configure host argument correctly when I have SQL DB on server instance? I have configured user only for this instance. When im trying put: host='server_name\instance_name' I have an error:...
View ArticleSupport for protobufs 4? (3 replies)
The current latest version of mysql-connector-python (8.0.32) has a dependency conflict with the oldest version of google-ads (19.0.0) that works with current Google APIs (v12+). The conflict is...
View ArticleNot all records - EOF deprecation / protocol.py (1 reply)
On larger queries - not all of the records are making it to my .fetchall() statement. I've tracked it down to a potential issues within protocol.py, where a deprecated EOF is being detected, which...
View Articledeallocating None issue with connect/disconnect (4 replies)
Hi all, I run into a "deallocating None" error, if I use connect()/disconnect(): ... 'None' refcount: 4 'None' refcount: 3 'None' refcount: 2 Fatal Python error: deallocating None Python runtime...
View ArticleHow to perform unit testing (4 replies)
I want to know how to execute unittests.py with my own database parameters.
View ArticleUsing mysql-connector-python 8.0.33 with MySQL 8.1 (2 replies)
Hi, I would like to know if using mysql-connector-python 8.0.33 with MySQL 8.1 is officially supported, or if I am required to use mysql-connector-python==8.1.0. Thanks for your help.
View ArticleHow to set a driver-side query execution timeout (no replies)
Hi, is there a way to set a driver-side query execution timeout? We noticed that the MySQL JDBC driver supports setting a driver-side socket/network timeout but the MySQL Python driver does not. This...
View ArticleSSL error using mysql-connector-python 8.2.0 (no replies)
Hello Experts, i am using a simple python script to connect to mysql PAAS instance import mysql.connector from mysql.connector import errorcode import os try : RPA_db =...
View ArticleUnexpected error when calling purge command via execute (no replies)
Hello! Running python3.8, mysql-connector-python 8.3.0, and mysql 8.0.35, I've run into something that I'm unsure qualifies as a bug, but at the very least I find strange behavior. I've got some...
View ArticleMySQL Asynchronous Connectivity with MySQL Connector/Python (no replies)
https://blogs.oracle.com/mysql/post/mysql-async-connectivity-with-connector-python
View Articlemigrating multi-line SQL commands from pymysql (no replies)
I've been tasked with migrating from pymsqyl to mysql.connector . . . we have a bunch of code that has multi-line SQL statements that don't run as expected in mysql.connector, viz. only the first...
View ArticlePython Connector gives incorrect result (no replies)
This python code: ```python import mysql.connector try: conn = mysql.connector.connect( host="localhost", user="fanw", password="secret", database="fanw" ) cursor = conn.cursor() query = """ CREATE...
View ArticleClientFlag MULTI_STATEMENTS (no replies)
I checked documents, but can't found sample codes of executing multi statements using mysql-connector-python, so need help to correct the following. ``` import mysql.connector from mysql.connector...
View ArticleSlow query performance (no replies)
Hi I have written a Python program to strip down a csv log file that contains every connection to our streaming server. The data is stripped from the csv log and then processed line by line and each...
View ArticleTypeError( TypeError: Python 'states' cannot be converted to a MySQL type (no...
Using `mysql-connector-python` 8.4.0 with Python 3.11 and Django 4.2 I have a model `Job` and when I try to create an instance, I get the following error which seems to suggest that the connector is...
View ArticleAsync connector and connection pool (1 reply)
Hello! I developed an application, basted on FastAPI, currently implemented using the classic blocking MySQL Python connector, which allows multiple clients to concurrently query the database. In...
View ArticlePoll: Anyone using c-extension? (no replies)
Hey devs Can I ask if you would reply to this thread and let me know if you are. using the c-extension and, if so, why? Thanks!
View Article[BUG] v8.2.0 breaking with ssh tunnel (no replies)
Hi, Trying to run 8.2.0 of the mysql python connector with the sshtunnel package to connect to a remote server. The code is very simple and I used a new environment with bare minimum packages. It...
View Articlemysql.connect kernel has died (no replies)
Dear all, I am trying to connect to my database using Python commands such as: conn= mysql.connector.connect(host='127.0.0.1', user='root', password='my_real_password', database='database_name')...
View Articlehelp needed (1 reply)
A very noob question maybe sorry Why am I getting a `mysql.connector.errors.InterfaceError: 2013, 'Lost connection to MySQL server during query' when executing large transactions?
View ArticleMYSQL - Python Connector - No Response (1 reply)
Hello, Situation I am trying to troubleshoot my issue between Python and MYSQL. I have found myself in a situation where I am temporarily forced to develop on a Windows 11 machine. I am not sure if...
View ArticleWhy I am unable to create connection with MySQL using python on Window 11 OS...
The program terminates automatically without throwing any error or output Server is also running on port 3306. Id and pass is also correct but still no output terminal just gets closed while...
View Article