MySQL Forums
Forum List  »  Connector/Python

Restore stored procedures via Python script
Posted by: Simon Norton
Date: April 23, 2020 03:37PM


I want to restore a database from the sql script created by mysqldump.exe. Using mysql_connector, the cursor stops when it hits the section for the stored procedures. I read something about the DELIMITER command only working from the command line or Workbench.

Is there a way for a python script to perform a CREATE PROCEDURE script without having to just call mysql.exe to do a restore?

Cheers and thanks,
Simon Norton

Options: ReplyQuote

Written By
Restore stored procedures via Python script
April 23, 2020 03:37PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.