cookiejoo opened a new issue, #29904:
URL: https://github.com/apache/shardingsphere/issues/29904
## Bug Report
proxy 5.4
use python conn proxy database error
################################################
import pymysql
conn = pymysql.connect(host='localhost', port=80, user='qoa_sharding',
password='xxxx', database='xxx_sharding')
cursor = conn.cursor()
try:
sql = "SELECT * FROM test_ss WHERE cust_no = 'xxxx'"
cursor.execute(sql)
results = cursor.fetchall()
for row in results:
print(row)
except Exception as e:
print("Error:", str(e))
finally:
cursor.close()
conn.close()
############################################################
Error: (30000, 'Unknown exception: Cannot invoke
"org.apache.shardingsphere.transaction.xa.spi.XATransactionManagerProvider.getTransactionManager()"
because "this.xaTransactionManagerProvider" is null')
#############################################################
but use java jbdc conn this database is success。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]