Skip to main content

MySLQ Integration

To integrate MySQL to Windmill, you need to save the following elements as a resource.

Add MySQL Resource

PropertyTypeDescriptionDefaultRequiredWhere to Find
hoststringInstance hostfalseYour hosting provider's control panel or in your server's MySQL configuration file
portnumberInstance port3306falseYour hosting provider's control panel or in your server's MySQL configuration file
userstringUsernametrueCreated in MySQL (e.g., via phpMyAdmin or MySQL Workbench) or provided by your hosting
databasestringDatabase nametrueCreated in MySQL (e.g., via phpMyAdmin or MySQL Workbench) or provided by your hosting
passwordstringUser's passwordtrueCreated in MySQL (e.g., via phpMyAdmin or MySQL Workbench) or provided by your hosting

MySQL as a Script Language

MySQL can be used as a script language using the MySQL driver for Deno in Typescript.

Otherwise, Python libraries and Deno are also suggesting mysql2 from npm.



tip

Find some pre-set interactions with MySQL on the Hub.

Feel free to create your own MySQL scripts on Windmill.