Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ady20

    (@ady20)

    Thank’s alot for advice , i have resolve the problem.

    Thread Starter ady20

    (@ady20)

    Of course i have replace whit my real data,but whit no succes.She give the same message :Error establishing a database connection.
    I have cheked,double checked and triple checked my data to be write corectly,but nothing….the same error. i don’t know what to do….

    Thread Starter ady20

    (@ady20)

    Well, now i do exactly as you say,but surpise: Error establishing a database connection. i checked and double checked the config.php,the date are corectly write to this file.
    I forgot to tell somethig:i used a free hosting, could be this a problem ??

    Thread Starter ady20

    (@ady20)

    Well, trust me i have review this intructions for a several time,
    but nothing, the same error.
    This is my config.php file:

    <?php
    // ** MySQL settings ** //
    $dbh = mysql_connect(“hostname”, “username”, “<PASSWORD HERE>”) or die (“message”);
    mysql select db1(“databasename”);

    // Change SECRET_KEY to a unique phrase. You won’t have to remember it later,
    // so make it long and complicated. You can visit https://www.grc.com/passwords.htm
    // to get a phrase generated for you, or just make something up.
    define(‘SECRET_KEY’, ‘*******’); // Change this to a unique phrase.

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-content/languages.
    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

    I rename the file wp-config-sample.php to wp-config.php.

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