You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/usr/bin/php Your databse options in includes/config.php are Server: 127.0.0.1 User: root Pasword: (omitted) Databse: Chan MySQL Error: Can't create database 'Chan'; database exists MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'year(Created), PRIMARY KEY (Continuity,Year,Id) ) ENGINE=InnoDB DEFAUL' at line 7 MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'year(Created), Topic int(11) NOT NULL, Content text NOT NULL DEFAULT '',' at line 5 MySQL Error: Specified key was too long; max key length is 767 bytes Downloading and installing jBBCode-1.3.0 Finished!
The text was updated successfully, but these errors were encountered:
The first error is just some SQL DB checking stuff that I will fix in a bit. You probably ran the script once before; deleting the database manually will resolve the "database exists error."
The second error ("There is an error in your SQL syntax") is a little more confusing. What SQL version are you using? It may not have the function year since that's where it seems to throw the error.
#!/usr/bin/php Your databse options in includes/config.php are Server: 127.0.0.1 User: root Pasword: (omitted) Databse: Chan MySQL Error: Can't create database 'Chan'; database exists MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'year(
Created
), PRIMARY KEY (Continuity
,Year
,Id
) ) ENGINE=InnoDB DEFAUL' at line 7 MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'year(Created
),Topic
int(11) NOT NULL,Content
text NOT NULL DEFAULT '',' at line 5 MySQL Error: Specified key was too long; max key length is 767 bytes Downloading and installing jBBCode-1.3.0 Finished!The text was updated successfully, but these errors were encountered: