MySQL Forums
Forum List  »  MySQL Shell

MySQL Shell Syntax Error
Posted by: Brian Hiatt
Date: July 03, 2024 11:20AM

Oracle Linux
MySQL shell 8.0.35
MySQL shell active (not js)

When I run this command I get a syntax error. Have run it before (on different instance). I studied the syntax and do not see a format issue.

Any ideas?

util.copyInstance('adminlogin@XXX.XXX.XXX.XXX',{dryRun:true, showProgress:true, updateGtidSet: "append", loadIndexes:false, excludeUsers: ["ocidbm"], compatibility: ["strip_restricted_grants", "strip_definers", "create_invisible_pks" ]});


Error is:
ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'util.copyInstance('adminlogin@XXX.XXX.XXX.XXXX',{dryRun:true, showProgress:tr' at line 1

Obfuscated the login and IP

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL Shell Syntax Error
163
July 03, 2024 11:20AM


Sorry, only registered users may post in this forum.

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.