User Tools

Site Tools


servers:windows:mariadb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:windows:mariadb [2025/10/06 19:40] – [SQLyog] Sean Rhoneservers:windows:mariadb [2025/11/28 21:42] (current) – mariadb-12.2.1-winx64.msi installs fine as-is, but was updated from previous MDEV fixed version Sean Rhone
Line 4: Line 4:
  
 ====== MariaDB ====== ====== MariaDB ======
 +
 +===== 12.2 =====
  
   * https://mariadb.org/download/   * https://mariadb.org/download/
-  * https://downloads.mariadb.org/rest-api/mariadb/ +  * http://downloads.mariadb.org/mariadb/12.2.1/ 
-  * Last tested: ''mariadb-12.1.1-winx64.msi'' ((2025/09/26: ''mariadb-12.2.0-winx64.msi'' fails to install))+ 
 +  * Last tested: ''mariadb-12.2.1-winx64.msi''
  
   * No Development components or Third party tools   * No Development components or Third party tools
Line 28: Line 31:
   * ''[x]'' Enable networking   * ''[x]'' Enable networking
  
-==== TrinityCore ====+==== World of Warcraft ====
  
-  * [[servers;windows;games;trinitycore_3.3.5_localhost|3.3.5 (localhost)]] +  * [[servers;windows;games;trinitycore_3.3.5_localhost|TrinityCore 3.3.5 (localhost)]]
-  * TODO: Also CMaNGOS+
  
   * ''[x]'' Development components   * ''[x]'' Development components
Line 44: Line 46:
   * Last tested: ''SQLyog-13.3.1-0.x64Community.exe''   * Last tested: ''SQLyog-13.3.1-0.x64Community.exe''
  
-  * MySQL Host Address: ''.'' ((just a dot for socket connection on Windows))+  * MySQL Host Address: ''.'' ((just a dot for socket connection on Windows; not ''localhost'' or ''127.0.0.1''))
  
 ====== Firewall ====== ====== Firewall ======
  
-****+  DIR "%ProgramFiles%\MariaDB 12.2\bin\mariadbd.exe"
  
-  DIR "%ProgramFiles%\MariaDB 12.1\bin\mariadbd.exe" && "netsh.exe" advfirewall firewall add rule name="MariaDB Server" dir="in" action="block" profile="any" program="%ProgramFiles%\MariaDB 12.1\bin\mariadbd.exe"+  "netsh.exe" advfirewall firewall add rule name="MariaDB Server" dir="in" action="block" profile="any" program="%ProgramFiles%\MariaDB 12.2\bin\mariadbd.exe"
  
 ===== Delete Rule ===== ===== Delete Rule =====
Line 59: Line 61:
  
 ====== Maintenance ====== ====== Maintenance ======
- 
-===== One-shot ===== 
- 
-  "%ProgramFiles%\MariaDB 12.1\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 12.1\data\my.ini" 
- 
-  "%ProgramFiles%\MariaDB 12.1\bin\mariadb-check.exe" -u "root" -p -o -A -f -e --auto-repair 
  
 ===== Service ===== ===== Service =====
Line 70: Line 66:
 ==== Create User ==== ==== Create User ====
  
-  "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p+  "%ProgramFiles%\MariaDB 12.2\bin\mariadb.exe" -u "root" -p
  
   CREATE USER 'maintenance'@'localhost' IDENTIFIED BY 'x';   CREATE USER 'maintenance'@'localhost' IDENTIFIED BY 'x';
Line 76: Line 72:
   GRANT SELECT, INSERT ON *.* to 'maintenance'@'localhost';   GRANT SELECT, INSERT ON *.* to 'maintenance'@'localhost';
  
-  FLUSH PRIVILEGES; +  FLUSH PRIVILEGES;EXIT;
- +
-  EXIT+
  
 ==== Script ==== ==== Script ====
Line 91: Line 85:
 @echo off @echo off
  
-"%ProgramFiles%\MariaDB 12.1\bin\mariadb-check.exe" --user="maintenance" --password="x" -o -A -f -e --auto-repair+"%ProgramFiles%\MariaDB 12.2\bin\mariadb-check.exe" --user="maintenance" --password="x" -o -A -f -e --auto-repair
  
 :: End</code> :: End</code>
Line 106: Line 100:
  
   * Weekly -> Recur every ''1'' weeks on ''Sunday''   * Weekly -> Recur every ''1'' weeks on ''Sunday''
-  * ''02:00:00 AM''+  * ''07:10:00 AM''
  
   DB Maintenance   DB Maintenance
  
   "%SystemDrive%\www\scripts\mariadb\Maintenance.bat"   "%SystemDrive%\www\scripts\mariadb\Maintenance.bat"
 +
 +===== One-shot =====
 +
 +  "%ProgramFiles%\MariaDB 12.2\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 12.2\data\my.ini"
 +
 +  "%ProgramFiles%\MariaDB 12.2\bin\mariadb-check.exe" -u "root" -p -o -A -f -e --auto-repair
  
 ====== TODOs ====== ====== TODOs ======
/var/www/wiki/data/attic/servers/windows/mariadb.1759794003.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki