You can use the standard Python modules just as you would do in any other Python script in #MySQL shell
For example, if you need to create UUIDs you can use the uuid module:
MySQL sakila.goyun.info.rds.amazonaws.com:3306 ssl sakila Py > import uuid
MySQL sakila.goyun.info.rds.amazonaws.com:3306 ssl sakila Py > print(uuid.uuid1().hex)
0b7b5ad87edf11eb98ed02914a51455c
Comments
Post a Comment