mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.4'
* PHP-8.4: Use preinstalled MySQL for Windows CI
This commit is contained in:
commit
fa1af48c83
1 changed files with 5 additions and 3 deletions
8
.github/actions/setup-windows/action.yml
vendored
8
.github/actions/setup-windows/action.yml
vendored
|
@ -3,10 +3,12 @@ runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Setup MySQL
|
- name: Setup MySQL
|
||||||
shell: pwsh
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
choco install mysql -y --no-progress --params="/port:3306"
|
mysqld --initialize-insecure
|
||||||
mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;"
|
mysqld --install
|
||||||
|
net start MySQL
|
||||||
|
mysql --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;"
|
||||||
- name: Setup MSSQL
|
- name: Setup MSSQL
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue