• Liezleb

    (@liezleb)


    Godaddy requires that I use a complex password for my database.

    my database password has a # in the password. When I add the # to the password I get this error.

    Parse error: syntax error, unexpected ‘;’ in /home/content/83/11367183/html/wp-config.php on line 28

    I am completely lost.

    <?php
    /**
    * The base configurations of the WordPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys, and ABSPATH. You can find more information by visiting
    * {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
    * Codex page. You can get the MySQL settings from your web host.
    *
    * This file is used by the wp-config.php creation script during the
    * installation. You don’t have to use the web site, you can just copy this file
    * to “wp-config.php” and fill in the values.
    *
    * @package WordPress
    */

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘bab1318101094351’);

    /** MySQL database username */
    define(‘DB_USER’, ‘bab1318101094351’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘pass#word’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘bab1318101094351.db.11367183.hostedresource.com’);

    /** 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’, ”);

Viewing 6 replies - 1 through 6 (of 6 total)
  • Bill

    (@chubbycrow)

    I hope that isn’t your actual wp-config file because that’s not a great password. The good news is that now you can make a much stronger one because you now need to change your username and password immediately. Never post such things here or anywhere else on the net. If that was just an example file, I still recommend creating a longer password with mixed letters, numbers, and/or symbols. After you change them, you must also change your wp-config file to match.

    Thread Starter Liezleb

    (@liezleb)

    Hi Bill

    That is not the password ha ha , just wanted to the # that is in the password 🙂
    However when I add the symbol wp sees it as a syntax error.

    Thanks

    catacaustic

    (@catacaustic)

    So use a differnt password without a # symbol.

    There’s litterally millions of secure passwords out there that will work without that single symbol.

    As for why it gives you a parse error, that’s a strange one, but I’d almost want to see what the actual password was before I could say anything as it could be a different character in there as well. Teh best case in point for that is that I’ve seen people try to use a ‘ in there and wondered why it didn’t work.

    Thread Starter Liezleb

    (@liezleb)

    Hi

    I have to just a symbol as per godaddy, when I reset the database password.

    Password is Illllll#1111 – 1Uppercase 6 letters 1# 4numbers. Not real password. Don’t know how to override it in Godday.

    catacaustic

    (@catacaustic)

    You will need to ask GoDaddy about that.

    Bill

    (@chubbycrow)

    Ha. That’s a relief about the password being an example. People actually do use strings like ‘pass#word’ without realizing how weak it is.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘DB_password #’ is closed to new replies.