MySQL/Setting up MySQL: Difference between revisions
mNo edit summary |
m mention storage engine compatibility for v22+ (PR 28790) |
||
| Line 28: | Line 28: | ||
|} | |} | ||
'''Storage engine''' | |||
Kodi v22 and above doesn't support the MyISAM storage engine anymore. The server default storage engine will be used instead, or InnoDB if the default is MyISAM. | |||
'''Platforms''' | |||
MySQL/MariaDB can be installed on just about every major OS and NAS: | MySQL/MariaDB can be installed on just about every major OS and NAS: | ||
Latest revision as of 11:32, 8 August 2026
|
Share libraries w/MySQL, guide: |
You'll need to choose which of your computers, Kodi devices, or NAS will be the MySQL server. The server needs to be on 24/7 or have wake-on-lan (preferably the former), and needs to have a local static IP. You will probably want the Kodi device that is hosting most or all of your videos and music to also be the MySQL server, but this is not required.
To avoid this and/or fix it after it happens, make sure the account's password does not expire. (See: https://dev.mysql.com/doc/refman/5.7/en/password-management.html )
Version Requirements
Recommended:
The latest LTS (long term support) versions of MySQL or MariaDB, for continuing support and regular bug/security fixes.
They were MySQL 8.4.x and MariaDB 11.8.x at the time of writing.
Minimum:
| Kodi version | MySQL version | MariaDB version |
|---|---|---|
| Up to v21 - Omega | 5.6 | 5.5 |
| v22 - Piers (and above) | 5.7.9 | 10.2.5 |
Storage engine
Kodi v22 and above doesn't support the MyISAM storage engine anymore. The server default storage engine will be used instead, or InnoDB if the default is MyISAM.
Platforms
MySQL/MariaDB can be installed on just about every major OS and NAS:
| Next step: | Setting up Kodi |