mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
Add post installation script for MariaDB (#1906)
This commit is contained in:
parent
a915cb2509
commit
eda1e011e4
@ -47,6 +47,14 @@
|
||||
"persist": [
|
||||
"data"
|
||||
],
|
||||
"post_install": "#Initialize data directory (without generating root password)
|
||||
if (!(Test-Path \"$dir\\data\\auto.cnf\")) {
|
||||
mysqld --initialize-insecure
|
||||
}",
|
||||
"notes": "Run following command as administrator to run MariaDB as a service.
|
||||
|
||||
mysqld --install \"[Service Name(default:MySQL)]\"
|
||||
",
|
||||
"checkver": {
|
||||
"url": "https://downloads.mariadb.org/",
|
||||
"re": "Download ([\\d.]+) Stable"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user