My Oracle Support Banner

SQL Statements Ignored When Using curs.execute() to Execute Procedure (Doc ID 2507566.1)

Last updated on MARCH 03, 2020

Applies to:

MySQL Connectors - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

If you use curs.execute() to execute a MySQL procedure and there are "select" statements inside the procedure. SQL statements in the procedure will be ignored.

For example, you want to run the procedure below using Python Connector curs.execute() method:

The DDL statements will not be executed inside the procedure.

 

Changes

 Use curs.execute() to execute a MySQL procedure

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.