The first tutorial supplementing the MySQL Connector/NET Developer Guide
showed you how to connect and run static INSERT
statement. It was a barebones PowerShell script with the MySQL
Connector. This post shows you how to run a PowerShell script
that uses a dynamic form to gather the MySQL credentials and then
run a static query. Below is the MySQL Credentials form.
You enter the correct user name, password, hostname (or IP address), port, and database, like this:
Here’s the complete code for this staticQuery.ps1
PowerShell script:
# Add libraries for form components. …[Read more]