{"repo":"shogo82148/actions-setup-mysql","free":true,"listed":false,"github":"https://github.com/shogo82148/actions-setup-mysql","clone":"git clone https://github.com/shogo82148/actions-setup-mysql.git","description":null,"language":"TypeScript","stars":71,"topics":["database","github-actions","mysql"],"license":"MIT","category":"databases-storage","readme_excerpt":"actions-setup-mysql This action sets up a MySQL database for use in actions by: - download a version of MySQL or MariaDB - start mysqld Motivation - GitHub-Hosted Runners have MySQL Server, but only Linux. - GitHub Actions supports Docker services, and there is the official MySQL image. But it works on only Linux. - Some utils for MySQL (such as MySQL::Partition, App::Prove::Plugin::MySQLPool, Test::mysqld) requires MySQL installed on the local host. Usage Configuration mysql-version The version of MySQL or MariaDB. Available Versions are: - MySQL - 26.7 (latest) - 9.7 (LTS) - 8.4 (LTS) - 8.0 - MariaDB - 12.3 (latest) - 11.8 (LTS) - 11.4 (LTS) - 10.11 (LTS) distribution The distribution. The valid values are mysql or mariadb . The default value is mysql . You can use mysql- and mariadb- prefixes in mysql-version instead of the distribution input. For example, the following two workflows install MariaDB 12.3. auto-start If it is true , the action starts the MySQL server. If it is false , the action doesn't start the MySQL sever. You need to execute the mysqld command yourself. The default value is true . my-cnf my.cnf settings for mysqld. It uses the same syntax as my.cnf . Example: root-password The password for the root user. user The name of the new user. password The password for the new user. Outputs base-dir The directory under which the mysql database is being created. It contains: - etc/my.cnf - tmp/mysqld.log - tmp/mysqld.pid - tmp/mysql.sock - var : The default path ","default_branch":null,"files":null,"tree":[],"storefront":"/r/shogo82148","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shogo82148/actions-setup-mysql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}