Database Error (Debug mode on) upon plugin activation
-
Just wanted to inform you:
I got these upon plugin activationWordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘unsigned auto_increment, name tinytext not null, description text’ at line 2]
CREATE TABLE wp_snippets ( id bigint(20) not null unsigned auto_increment, name tinytext not null, description text, code longtext not null, tags longtext, active tinyint(1) not null default 0, PRIMARY KEY (id) ) DEFAULT CHARACTER SET utf8WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘unsigned auto_increment, name tinytext not null, description text’ at line 2]
CREATE TABLE wp_snippets ( id bigint(20) not null unsigned auto_increment, name tinytext not null, description text, code longtext not null, tags longtext, active tinyint(1) not null default 0, PRIMARY KEY (id) ) DEFAULT CHARACTER SET utf8Not sure yet if the plugin still works after this error
- The topic ‘Database Error (Debug mode on) upon plugin activation’ is closed to new replies.