I would like to install MySQL Server along with my Python application on Windows and Mac. If not installed, a default username and password is used. However, if the MySQL is installed already, I would like to get the root username and password and pass it to my Python script or create the default user with privileges my script is using. How do I do it?
You can use the parameterString to ask for the username and password, and using a validationActionList to check the username and password provided with are correct. Find below how to achieve that:
answered 23 Mar '16, 05:47