The MU forums have moved to

Installtion: mysql error - wp_/main_categories (2 posts)

  1. klaudius
    Posted 19 years ago #

    Installtion errors when creating databases:

    WordPress 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 '/main_categories ( cat_ID bigint(20) NOT NULL auto_increment,]
    CREATE TABLE wp_/main_categories ( cat_ID bigint(20) NOT NULL auto_increment, cat_name varchar(55) NOT NULL default '', category_nicename varchar(200) NOT NULL default '', category_description longtext NOT NULL, category_parent int(4) NOT NULL default '0', PRIMARY KEY (cat_ID), KEY category_nicename (category_nicename) )

    so on ...............

    What's wrong?

  2. NetAndif
    Posted 19 years ago #

    It seems your htaccess could not be written during install.
    Now you have the tables and files, but the htaccess is wrong.
    You have two options:
    - edit .htaccess, replace 'BASE' with the relative path to wp-inst (e.g. '/' if it is in your web root)
    - delete the created tables and files and do a fresh install, make sure the webserver could write to the wp-inst folder.

About this Topic

  • Started 2025 years ago by klaudius
  • Latest reply from NetAndif