Forums

wordpress on localhost, fedora 15, mysql syntax problem (1 post)

  1. bplv1013
    Member
    Posted 7 months ago #

    Hello, I'm trying to setup my wordpress database on latest mysql and am experiencing the following problem:
    ____________________________________________________________________
    input:

    mysql> DB_NAME = wordpress
    -> USER_NAME = brian
    -> PASSWORD = 11720o
    -> PERMISSIONS = all
    -> \g

    response:

    ERROR 1064 (42000): 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 'DB_NAME = wordpress
    USER_NAME = brian
    PASSWORD = 11720o
    PERMISSIONS = all' at line 1
    ____________________________________________________________________
    I've restarted my computer since my latest update and restarted my mysql service, and have tried many different things already but still haven't even gotten to the wordpress setup. Could there be a duplicate database thats conflicting? If so how can I remove it?
    ____________________________________________________________________
    heres my wp-config.php

    // ** MySQL settings - You can get this info from your web host ** //

    /** The name of the database for WordPress */

    define('DB_NAME', 'wordpress');

    /** MySQL database username */

    define('DB_USER', 'brian');

    /** MySQL database password */

    define('DB_PASSWORD', '==NA==');

    /** MySQL hostname */

    define('DB_HOST', 'localhost');

    /** Database Charset to use in creating database tables. */

    define('DB_CHARSET', 'utf8');

    /** The Database Collate type. Don't change this if in doubt. */

    define('DB_COLLATE', '');

    /**#@+

    Any help would be greatly appreaciated.

Reply

You must log in to post.

About this Topic