| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:mariadb [2026/03/15 22:31] – [12.3] Sean Rhone | servers:windows:mariadb [2026/11/29 19:52] (current) – [13.1] Sean Rhone |
|---|
| ====== MariaDB ====== | ====== MariaDB ====== |
| |
| ===== 12.3 ===== | ===== 13.1 ===== |
| |
| * https://mariadb.org/download/ | * https://mariadb.org/download/ |
| * https://mariadb.org/mariadb/all-releases/ | * https://mariadb.org/mariadb/all-releases/ |
| |
| * Last tested: ''mariadb-12.3.1-winx64.msi'' | * Last tested: ''mariadb-13.1.1-winx64.msi'' ((2026/11/29: ''mariadb-13.2.1-winx64.msi'' not tested)) |
| |
| ===== Install Options ===== | ===== Install Options ===== |
| ===== Delete Default Rule ===== | ===== Delete Default Rule ===== |
| |
| **** | "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="MariaDB 13.1 (x64)" |
| | |
| "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="MariaDB 12.3 (x64)" | |
| |
| ===== Block ===== | ===== Block ===== |
| |
| **** | * [[servers;windows;nginx;friendica#firewall|Friendica]] with WSL needs ''remoteip=localsubnet'' |
| |
| CD "%ProgramFiles%\MariaDB "*"\bin" && "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="MariaDB Server" dir="in" action="block" profile="any" program="%CD%\mysqld.exe" | CD "%ProgramFiles%\MariaDB "*"\bin" |
| | |
| | "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="MariaDB Server" dir="in" action="block" profile="any" program="%CD%\mysqld.exe" |
| |
| ===== Delete Rule ===== | ===== Delete Rule ===== |
| |
| **** | |
| |
| "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="MariaDB Server" | "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="MariaDB Server" |
| ==== Create User ==== | ==== Create User ==== |
| |
| "%ProgramFiles%\MariaDB 12.3\bin\mariadb.exe" -u "root" | "%ProgramFiles%\MariaDB 13.1\bin\mariadb.exe" -u "root" |
| |
| CREATE USER 'maintenance'@'localhost' IDENTIFIED BY 'x'; | CREATE USER 'maintenance'@'localhost' IDENTIFIED BY 'x'; |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%ProgramFiles%\MariaDB 12.3\bin\mariadb-check.exe" --user="maintenance" --password="x" -o -A -f -e --auto-repair | "%ProgramFiles%\MariaDB 13.1\bin\mariadb-check.exe" --user="maintenance" --password="x" -o -A -f -e --auto-repair |
| |
| :: End</code> | :: End</code> |