[CONPY-110] Error Connecting and Communicating with SkySQL Created: 2020-08-26 Updated: 2020-09-08 Resolved: 2020-09-04 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | DBAPI 2.0 |
| Affects Version/s: | 1.0.1 |
| Fix Version/s: | 1.0.2 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Rob Hedgpeth (Inactive) | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
I was previously able to connect to SkySQL using the Python Connector (v. 0.9.59), but am unable to do so with the same configuration with versions 1.0.0+. The sample application I am using to test is here. (A react.js front-end with a variety of api project options) The Python API project lives here. The connection configuration I am using:
I have also attached:
|
| Comments |
| Comment by Georg Richter [ 2020-08-31 ] | |||||||
|
I don't have any problems to connect to connectors SkySQL test instance. | |||||||
| Comment by Rob Hedgpeth (Inactive) [ 2020-09-02 ] | |||||||
|
Just out of curiosity - Is Connector/Python tested with production instances of SkySQL? Customers will not be using test instances. I'm not receiving an error message/exception. The crash I'm encountering appears to happen after the connection object (`conn`) is created. So using print(conn), conn.cur(), etc. The crash I'm receiving is in log.rtf (attached). I've tried wrapping the `conn` usage with basic exception handling to see if I can print sys.exec_info, but no go. Is there something else I can do to inspect, step-through, etc. to dive deeper into what is happening with `conn`? (Sorry, still newer to Python debugging processes) | |||||||
| Comment by Georg Richter [ 2020-09-04 ] | |||||||
|
Ok, I'm able to repeat the problem on Mac (without SkySQL)
Testing Connector/C with TLS/SSL connection on the same machine works without problems. | |||||||
| Comment by Georg Richter [ 2020-09-04 ] | |||||||
|
fixed in rev. e807101db22349901663957abf98aef2e74f7399 | |||||||
| Comment by Rob Hedgpeth (Inactive) [ 2020-09-08 ] | |||||||
|
You rock, georg! Thank you! |