熱門: 資料更新於2026年11月11日

軟體分類

網路軟體1,405
通訊社群327
影音軟體929
繪圖與影像563
辦公軟體1,164
開發工具3,260
AI工具596
安全與隱私405
系統工具3,170
遊戲542
教育與科學240
網路與IT292

MySQL靜默安裝與解除安裝參數

Oracle MySQL Database Service is a fully managed database service that lets developers quickly develop and deploy secure, cloud native applications using the world’s most popular open source database.

免互動安裝MySQL、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。

相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式

使用winget

PowerShell
winget install --id Oracle.MySQL -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Oracle.MySQL -e --silent
winget uninstall --id Oracle.MySQL -e --silent

依安裝檔

64位元 · MSI · 所有使用者 · en-US

靜默安裝msiexec /i mysql-8.4.9-winx64.msi /qn /norestart
寫入記錄檔msiexec /i mysql-8.4.9-winx64.msi /qn /norestart /l*v "%TEMP%\mysql-install.log"
解除安裝msiexec /x {26CF3009-F5EA-4BB7-930F-3BC7814AAC17} /qn /norestart
MSI產品代碼
{26CF3009-F5EA-4BB7-930F-3BC7814AAC17}
解除安裝登錄機碼
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26CF3009-F5EA-4BB7-930F-3BC7814AAC17}
UpgradeCode
{0E338B32-2B15-4B6B-8A21-E8412C153D81}
安裝資料夾
%ProgramFiles%\.\MySQL\MySQL Server 8.4

PowerShell:下載、驗證、安裝

下載官方檔案,驗證SHA256後靜默安裝。

install-mysql.ps1
$url = 'https://cdn.mysql.com/Downloads/MySQL-8.4/mysql-8.4.9-winx64.msi'
$sha256 = '7C3CAEDE97BB4AF923505A92E0B9C9FAB1E5074A841B632387AF7FB059AFBD1E'
$file = Join-Path $env:TEMP 'mysql-8.4.9-winx64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait

資料庫熱門排行

查看全部
  1. MariaDB資料庫 · MariaDB Corporation Ab
  2. HeidiSQL資料庫 · Ansgar Becker
  3. SQLite資料庫 · SQLite
  4. Dolt資料庫 · DoltHub
  5. MongoDB資料庫 · MongoDB Inc
  6. Redis on Windows資料庫 · MSOpenTech
  7. DB Browser for SQLite資料庫 · DB Browser for SQLite Team
  8. Beekeeper Studio資料庫 · Beekeeper Studio Team
  9. Liquibase資料庫 · Liquibase
  10. Another Redis Desktop Manager資料庫 · Another

Oracle Corporation的其他軟體

查看全部

標籤

分享