mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			59 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "homepage": "https://dev.mysql.com/downloads/mysql/",
 | 
						|
    "version": "5.7.22",
 | 
						|
    "license": "GPL-2.0",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://dev.mysql.com/get/mysql-5.7.22-winx64.zip",
 | 
						|
            "hash": "5494b1facbea8daaa25862e9a4ee298a98c47fbb3eff5529f9779fd8486a5abe",
 | 
						|
            "extract_dir": "mysql-5.7.22-winx64"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://dev.mysql.com/get/mysql-5.7.22-win32.zip",
 | 
						|
            "hash": "c998915403cb52c0eca19291606db944c9fa8bcf06722e70226a591c80e97ea8",
 | 
						|
            "extract_dir": "mysql-5.7.22-win32"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "bin": [
 | 
						|
        "bin\\mysqld.exe",
 | 
						|
        "bin\\mysql.exe",
 | 
						|
        "bin\\mysqldump.exe",
 | 
						|
        "bin\\mysqladmin.exe",
 | 
						|
        "bin\\mysqlbinlog.exe",
 | 
						|
        "bin\\mysqlcheck.exe",
 | 
						|
        "bin\\mysqlimport.exe",
 | 
						|
        "bin\\mysqlshow.exe",
 | 
						|
        "bin\\mysqlslap.exe",
 | 
						|
        "bin\\my_print_defaults.exe"
 | 
						|
    ],
 | 
						|
    "persist": [
 | 
						|
        "data"
 | 
						|
    ],
 | 
						|
    "post_install": [
 | 
						|
        "#Initialize data directory (without generating root password)",
 | 
						|
        "if (!(Test-Path \"$dir\\data\\auto.cnf\")) {",
 | 
						|
        "    mysqld --initialize-insecure",
 | 
						|
        "}",
 | 
						|
        "#Output client configuration to my.ini file so no username is required when connecting",
 | 
						|
        "echo \"\" | out-file \"$dir/my.ini\" -Encoding ASCII -Append",
 | 
						|
        "echo \"[client]\" | out-file \"$dir/my.ini\" -Encoding ASCII -Append",
 | 
						|
        "echo \"user=root\" | out-file \"$dir/my.ini\" -Encoding ASCII -Append"
 | 
						|
    ],
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://dev.mysql.com/downloads/mysql/",
 | 
						|
        "re": "<h1>MySQL Community Server ([\\d.]+)"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://dev.mysql.com/get/mysql-$version-winx64.zip",
 | 
						|
                "extract_dir": "mysql-$version-winx64"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "https://dev.mysql.com/get/mysql-$version-win32.zip",
 | 
						|
                "extract_dir": "mysql-$version-win32"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |