mysqlclient
mysqlclient copied to clipboard
MySQL database connector for Python (with Python 3 support)
Implements #476
Add several methods and two new types for session state tracking: - `session_state_changed` indicates whether session state has changed - `get_session_gtids` returns a list of GTIDs created by the just-committed...
hey there - one of my users found this, there's no pressure at all for this to be fixed if it's not possible, I just wanted to get it logged...
- [ ] Add `ssl_*` arguments (see https://github.com/PyMySQL/PyMySQL/pull/903) - [ ] Add mogrify (#476). - [ ] #512.
Hi, is there an easy+performant way to convert the result of a query into a Pandas or PyArrow dataframe while keeping the column names and data types?
The reasoning behind this change was already covered in PyMySQL: https://github.com/PyMySQL/PyMySQL/pull/330 I was wondering if there was any chance that this change would be considered for mysqlclient? I didn't see...
- [ ] Use keyword only arguments
Hi, When bulk insert a long list of data(thousands of rows) using **cursor.executemany()**, the cursor.lastrowid is not correct. code is like this: ``` def get_data(): return [ ("db_tests_112312313", 1, 1,...
Note: I may be able to work on putting together a pull request for this feature request, but I wanted to make sure you were okay with this feature request...
Sample code: ```python from pathlib import Path import MySQLdb conn = MySQLdb.connect( read_default_file=Path(__file__).with_name('mylogin.cnf').resolve()) ``` Error: ``` Traceback (most recent call last): File "", line 2, in File "/home/test/projects/venv/lib/python3.6/site-packages/MySQLdb/__init__.py", line 85,...