MySQL error when activating the plugin
-
Hello,
your plugin looks great and I really look forward to using it.
At the moment though, I can’t create any topic.I checked my server logs and found an error message recorded when I first activated the plugin.
If I understand correctly, the plugin tried to create a table called wp_topic, and received this message “Index column size too large. The maximum column size is 767 bytes.” The wp_topic table was not created.
I tried running the same request again manually and got the same message.
Is there a modified request that I could run in order to create the table?
I’m using PHP7 and MySQL 5.6.
Thank you for your help,Kasutan
****************Here is the original request :
CREATE TABLE wp_topic (
topic_id int(11) NOT NULL AUTO_INCREMENT,
topic_name varchar(200) NOT NULL,
topic_slug varchar(200) NOT NULL,
topic_status varchar(20) NOT NULL,
topic_type varchar(20) NOT NULL,
topic_search_1 text,
topic_search_2 text,
topic_exclude text,
topic_sources longtext,
topic_aidbfc longtext,
topic_aidbcat longtext,
topic_skip_domains longtext,
topic_min_length int(11),
topic_cat int(11),
topic_tag int(11),
topic_tag_search2 char(1),
topic_options text,
topic_last_run DATETIME,
PRIMARY KEY (topic_id),
KEY topic_name (topic_name)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci
- The topic ‘MySQL error when activating the plugin’ is closed to new replies.