fix: use mysqli driver in component manifest for Joomla 4/5/6

The install/uninstall/update SQL sections used driver="mysql" which
doesn't match the active mysqli driver, causing "SQL File not found"
on fresh installs and silently skipping schema updates on upgrades.

(cherry picked from commit 3fb5a87be9)
This commit is contained in:
Jonathan Miller
2026-06-24 07:31:12 -05:00
committed by Jonathan Miller
parent 5afbc75f23
commit dbf726e148
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -61,6 +61,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- Database table `#__mokoog_tags` with multilingual unique key
### Fixed
- Fix SQL driver attribute `mysql``mysqli` in component manifest preventing fresh installs
- Add exception logging to BatchController batch skip (#76)
- Align form maxlength attributes with DB schema limits (#77)
- Add `strip_tags()` input sanitization on OG text fields (#79)
+3 -3
View File
@@ -23,17 +23,17 @@
<install>
<sql>
<file driver="mysql" charset="utf8">sql/install.mysql.sql</file>
<file driver="mysqli" charset="utf8">sql/install.mysql.sql</file>
</sql>
</install>
<uninstall>
<sql>
<file driver="mysql" charset="utf8">sql/uninstall.mysql.sql</file>
<file driver="mysqli" charset="utf8">sql/uninstall.mysql.sql</file>
</sql>
</uninstall>
<update>
<schemas>
<schemapath type="mysql">sql/updates/mysql</schemapath>
<schemapath type="mysqli">sql/updates/mysql</schemapath>
</schemas>
</update>