Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
341 B
4
Indexable
Never
Instead of hard coding dbUser, dbPassword and dbName here
cmds.append(
            "engine_public_version=$(/rdsdbbin/oscar/bin/mysql -urdsbmsperf -prdsmbmsperf -e \"SELECT aurora_version();\" -prdsbmsperf | grep -oP '[\\d.]+' | tr -d '\\n')"
        )

Can you write a code like
dbName = ''
dbUser = ''
dbPassword = '' 
and then the command
Leave a Comment