Apache2 with PHP7 is installed.
When I start netjukebox the following is displayed:
MySQL create/upgarde error
File:/var/www/html/netjukebox/sql/netjukebox_57.sql
Query: -- -- Indexes for table `server` -- ALTER TABLE `server` ADD PRIMARY KEY (`name`)
MariaDB [netjukebox]> desc server;
Code: Select all
+------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+--------------+------+-----+---------+-------+
| name | varchar(255) | NO | | | |
| value | varchar(255) | NO | | | |
| is_integer | tinyint(1) | NO | | 0 | |
+------------+--------------+------+-----+---------+-------+
I tried running the SQL command from netjukebox_57.sql but get a 1071 error:
MariaDB [netjukebox]> ALTER TABLE `server` ADD PRIMARY KEY (`name`);
ERROR 1071 (42000): Specified key was too long; max key length is 1000 bytes
My apologies if this is already handled in the forum but I was unable to find a solution.
Any help would be appreciated.
Regards
Bob Rathbone