• tfcs

    (@tfcs)


    Hello, This is my first post as today I installed WordPress on my server – however – unsuccssfully.

    I created a new database, FTP’d the folder with changed information in wp-config.php file to my server.

    When running http://www.thefinalcutstore.com/wordpress/wp-admin/install.php from Safari browser I get thsi error message :”Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /hsphere/local/home/digimede/thefinalcutstore.com/wordpress/wp-config.php on line 4

    The contents of this file are as follows:
    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘digimed_blogs’); // The name of the database
    define(‘DB_USER’,’digimed_john’ ”); // Your MySQL username
    define(‘DB_PASSWORD’, ‘db_001’); // …and password
    define(‘DB_HOST’, ‘127.0.0.1:3306’); // 99% chance you won’t need to change this value

    I am guessing that my error callout on Line 4 is define(‘DB_HOST’, ‘127.0.0.1:3306’); but not sure why? I tried this with ‘localhost’ defined as well.

    My hosting is a multi-homed Linux box with uniques IP addresses for each domian. The value of 127.0.0.1:3306 is the called value of the address for the SQL server (which is external to my server)

    Question: Do I need a complete path from http://www.thefinalcutstore.com to the SQL server in wp-config.php or what to make this connect?

    Thanks

Viewing 1 replies (of 1 total)
  • whooami

    (@whooami)

    why are you including the port #? 3306 is the standard mysql port number, wordpress knows this.

    that said, your error is here:

    define('DB_USER','digimed_john' '');

    compare it to whats inside the sample wp-config.php

    define('DB_USER', 'username'); // Your MySQL username

Viewing 1 replies (of 1 total)

The topic ‘Error Installing WordPress 2.1’ is closed to new replies.