Validation MySQL database
Posted: Mon Aug 15, 2005 8:12 am
Hello all,
I'm trying to create an installer, where at some point during the installation wizard, MySQL database's info should be validated; therefore, I have created a new dialog for MySQL containing 4 text field as follows:
1) MySQL Server --> variable name: mysqlServer
2) User_id --> variable name: mysqlUsername
3) password --> variable name: mysqlPassword
4) port --> variable name: mysqlPort
So, my questions are:
1) How can I make the password text field unreadable (i.e. stars only)?
2) How can I pass these variables to the MySQL command?
Finally, looking forward to your responds,
Thanks in advance,
I'm trying to create an installer, where at some point during the installation wizard, MySQL database's info should be validated; therefore, I have created a new dialog for MySQL containing 4 text field as follows:
1) MySQL Server --> variable name: mysqlServer
2) User_id --> variable name: mysqlUsername
3) password --> variable name: mysqlPassword
4) port --> variable name: mysqlPort
So, my questions are:
1) How can I make the password text field unreadable (i.e. stars only)?
2) How can I pass these variables to the MySQL command?
Finally, looking forward to your responds,
Thanks in advance,