mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 00:01:20 +00:00
Add post installation script for MariaDB (#1906)
This commit is contained in:
parent
a915cb2509
commit
eda1e011e4
@ -47,6 +47,14 @@
|
|||||||
"persist": [
|
"persist": [
|
||||||
"data"
|
"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": {
|
"checkver": {
|
||||||
"url": "https://downloads.mariadb.org/",
|
"url": "https://downloads.mariadb.org/",
|
||||||
"re": "Download ([\\d.]+) Stable"
|
"re": "Download ([\\d.]+) Stable"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user