Home > other >  Python database connection oceanbase and antdb database links
Python database connection oceanbase and antdb database links

Time:04-21

Python link mysql and Oracle will write;
The db=cx_Oracle. Connect (' user/password @ IP: port/database ')
Db=pymysql. Connect (host="", the user=" ", "=", "database=", "charset=" utf8 ")
Please give a python database connection oceanbase database method, thank you very much

CodePudding user response:

Website information
Because OceanBase fully compatible with MySQL agreement, so you can use standard MySQL client connection OceanBase MySQL tenants, it is recommended to use 5.6 or 5.7 versions of the MySQL client, when using the MySQL client does not support connected to OceanBase Oracle tenants, if you need to connect to the Oracle tenants please use OceanBase client,

Try the mysql connections, this should be a technical support, ask ali cloud technology bai,
  • Related