Untitled
Anonymous
plain_text
01/22/2024 1:13 AM
576 B
21
Indexable
Current code
dbname1 = "auroraperf"
dbpassword1 = "rdsbmsperf"
dbuser1 = "rdsbmsperf"
cmds.append(
f"engine_public_version=$(/rdsdbbin/oscar/bin/mysql -u{dbuser1} -p{dbname1} -e \"SELECT aurora_version();\" -p{dbpassword1} | grep -oP '[\\d.]+' | tr -d '\\n')"
)
I want to revise the code such that I can have more meaningful command by using --username, --dbName and --password in the command Editor is loading...
Leave a Comment