Forums

Wordpress Database Error @ Step 2 (3 posts)

  1. mjsd1
    Member
    Posted 3 years ago #

    Here is a sample of the errors I get at step 2 of the installation process. Note, this is NOT the only error message I get... there are MANY of them!

    Thanx in advance.

    Second Step
    Now we’re going to create the database tables and fill them with some default data.

    WordPress database error: [You have an error in your SQL syntax near '-inst_categories ( cat_ID bigint(20) NOT NULL auto_increment, cat_name varch' at line 1]
    CREATE TABLE wp_wp-inst_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) )

  2. ColdForged
    Member
    Posted 3 years ago #

    You can't have dashes in your table prefix in wp-config.php, apparently. Old MySQL version?

  3. ColdForged
    Member
    Posted 3 years ago #

    Hmm... I get the same error trying to create a table with dashes, though I can correct it by putting the table name in backticks. That would require an update to the code. Any reason you have to have the dash character?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.