YAML examples for MySQL CLI
Execute MySQL commands
yaml- action: "Run MySQL queries" type: "MYSQL_CLI" trigger_time: "ON_EVERY_EXECUTION" version: "8.0" shell: "BASH" execute_commands: - "mysql -e 'SHOW DATABASES'" - "mysql < migrate.sql" setup_commands: - "apt-get install -y curl" targets: - target: my_database type: MYSQL name: My MySQL Database host: db.example.com port: 3306 database: myapp auth: username: deploy_user password: secured