You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Orthanc Users
Good night today I am facing the problem of restoring the mysql index database. After restoring a full dump of the index database (created with mysqldump), it is impossible to add new studies to Orthanc. PROCEDURE orthanc_db.CreateInstance does not exist Please tell me the best way to solve this issue.
Sébastien Jodogne
unread,
May 12, 2021, 1:22:22 AM5/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Orthanc Users
Hello,
By default, the "mysqldump" tool doesn't archive routines (i.e. stored functions and stored procedures). You should add the "--routines" command-line option to "mysqldump" when generating your dump.
If you are in a hurry, here is the SQL file to manually create the "CreateInstance" procedure that is used by the MySQL plugin 4.0 (this should be the only such function/procedure):