• Hello

    I’m having lots of problems trying to install wordpress on my domain. Not getting any support from the website hosting team.

    I’ve created new users within the mySQL database but get the following errors:-

    hmybus29_ebirima (Privileges: ALL PRIVILEGES)

    Connection Strings
    Perl $dbh = DBI->connect(“DBI:mysql:hmybus29_wp1:localhost”,”hmybus29_ebirima”,”<PASSWORD HERE>”);
    PHP $dbh=mysql_connect (“localhost”, “hmybus29_ebirima”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());
    mysql_select_db (“hmybus29_wp1”);

    hmybus29_wordpre (Privileges: ALL PRIVILEGES)

    Connection Strings
    Perl $dbh = DBI->connect(“DBI:mysql:hmybus29_wp1:localhost”,”hmybus29_wordpre”,”<PASSWORD HERE>”);
    PHP $dbh=mysql_connect (“localhost”, “hmybus29_wordpre”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());
    mysql_select_db (“hmybus29_wp1”);

    hmybus29_wp1 (Privileges: ALL PRIVILEGES)
    Connection Strings
    Perl $dbh = DBI->connect(“DBI:mysql:hmybus29_wp1:localhost”,”hmybus29_wp1″,”<PASSWORD HERE>”);
    PHP $dbh=mysql_connect (“localhost”, “hmybus29_wp1”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());
    mysql_select_db (“hmybus29_wp1”);

    My database name is hmybus29 and the user name I created is hmybus29_ebirima. I’m lost…I don’t know what to do.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Open the wp-config-sample.php file in a plain text editor and edit:
    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'hmybus29_wp1'); // The name of the database
    define('DB_USER', 'hmybus29_ebirima'); // Your MySQL username
    define('DB_PASSWORD', '******'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    Replace **** with your password and save the file as wp-config.php

    Upload all the WP files to your host.
    In your browser type…yoursite.com/wp-admin/install.php

    More info Getting_Started_with_WordPress#Installation

    Thread Starter chika72

    (@chika72)

    Thanks for responding.I don’t if this is a problem with the mySQL database on the server or what.

    I’ve done what you suggested, gone to the install.php file and run within the browser and this is the erroir I get:-

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?
    I don’t what else..I’m getting really frustrated here.

    Yes, sorry. Instead of reading the code I believed what you said… 🙂
    define('DB_NAME', 'hmybus29_wp1'); // The name of the database
    define('DB_USER', 'hmybus29_wp1'); // Your MySQL username

    They are the same – no ebirima 🙂

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

The topic ‘Installation problems’ is closed to new replies.