• Resolved filipv

    (@filipv)


    I really think i have done everything in the detailed installation. I created a database, called blog, its listed wag_blog, created user, wag_wordpress, checked the password XxxxxxxxX, and created wp-config.php with all that info. For some reason, it still refuses to run the install. 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?
    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    the blog is located: http://www.wag-architecture.co.uk/blog/

    Can someone please help !

    Much Appreciated!!

    filip

Viewing 10 replies - 1 through 10 (of 10 total)
  • hbalagh

    (@hbalagh)

    Ok this is a stupid question, did you associate the user w/ that database?

    Thread Starter filipv

    (@filipv)

    yes !

    🙂

    Thread Starter filipv

    (@filipv)

    also:

    PHP Version : 4.3.11
    MySQL Version : 4.0.25-standard

    Chris_K

    (@handysolo)

    To follow on from hbalagh’s post, you might glance over Installing_WordPress and make sure you’ve hit all the steps. The detailed section of that can walk you through the database bits.

    Thread Starter filipv

    (@filipv)

    ok, here is the info from the cPanel:

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

    and the info in the wp-config.php file:

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wag_blog’); // The name of the database
    define(‘DB_USER’, ‘wag_wordpress’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘XxxxxxxxX’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    Thread Starter filipv

    (@filipv)

    ->handy, i really went over it a number of times and i just cant see what i am doing wrong. I dont know what else to do…. 🙁

    Chris_K

    (@handysolo)

    Filipv – At first glance, I’m not seeing anything obvious either. Have you contacted your host?

    Samuel B

    (@samboll)

    Likely that last bit.
    localhost. Make sure your host isn’t one of the 1%.

    Bodhipaksa

    (@haecceity)

    Yeah, that’s what got me when I started setting up my blog. Turned out I was one of the 1% and I had to have db.mywebhost.com instead of localhost. Check with your own webhost about that one.

    Thread Starter filipv

    (@filipv)

    i got it working ….its too embarising to say what it was ….. anyway …wrong server 🙂
    Thanks guys for trying to help out anyway ….isp didnt even know what the problem was until they realised we have two servers ….arrgghhhh

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Please help with installation!!’ is closed to new replies.