from
Downloads\Joomla_4.0.0-beta1-dev-Development-Full_Package.zip\installation\sql\mysqljoomla.sql and
Downloads\Joomla_4.0.0-beta1-dev-Development-Full_Package.zip\administrator\components\com_admin\sql\updates\mysql\4.0.0-2018-07-29.sql
execute this sql
DROP TABLE IF EXISTS xxx__finder_logging
;
CREATE TABLE IF NOT EXISTS xxx__finder_logging
(
searchterm
VARCHAR(255) NOT NULL DEFAULT '',
md5sum
VARCHAR(32) NOT NULL DEFAULT '',
query
BLOB NOT NULL,
hits
INT(11) NOT NULL DEFAULT 1,
results
INT(11) NOT NULL DEFAULT 0,
PRIMARY KEY md5sum
(md5sum
),
INDEX searchterm
(searchterm
(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci;
No warning
Warning: #1280 Name 'md5sum' ignored for PRIMARY key.
Database Type | mysql |
---|---|
10.4.11-MariaDB | |
utf8mb4_general_ci | |
utf8mb4_general_ci | |
None | |
No | |
7.4.2 | |
Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.2 | |
apache2handler | |
Joomla! 4.0.0-beta1-dev Development [ MaƱana ] 17-October-2019 20:21 GMT | |
2020-02-25 download |
change to
CREATE TABLE IF NOT EXISTS #__finder_logging
(
searchterm
VARCHAR(255) NOT NULL DEFAULT '',
md5sum
VARCHAR(32) NOT NULL DEFAULT '',
query
BLOB NOT NULL,
hits
INT(11) NOT NULL DEFAULT 1,
results
INT(11) NOT NULL DEFAULT 0,
PRIMARY KEY (md5sum
),
INDEX searchterm
(searchterm
(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci;
Labels |
Added:
?
|
just tested via https://dbfiddle.uk and works
Thanks for the earlier reply.
Tested again with two days newer version (from today)
Same syntax in jommla.sql
I'm not saying it doesn't come into the system.
According to https://dev.mysql.com/doc/refman/8.0/en/create-table.html
there is no [symbol] after PRIMARY KEY.
This should be corrected as many view JOOMLA's many files as good examples.
I use latest XAMPP with their phpmyadmin which gives this warning.
Sincerely
Karsten
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-28 18:17:58 |
Closed_By | ⇒ | alikon |
Could you please testcheck again with the nightly build installation of today. To be sure that the issue is not fixed already. Thank you.
https://developer.joomla.org/nightly-builds.html