Forums

You appear to have already installed WordPress ?? Pls HELP! (6 posts)

  1. iandv
    Member
    Posted 2 years ago #

    On our web server I already have a WordPress blog (version 2.7)up and running in a directory called 'blog'

    I have to set up another WordPress Blog so I downloaded WordPress 2.8 and extracted it into a new folder on the same server called 'Blogs2'

    However when browsing
    myserver/blogs2/wp-admin/install.php

    I recieve the following message

    "Already Installed
    You appear to have already installed WordPress. To reinstall please clear your old database tables first."

    Any ideas on what is the problem? I have set up another database for this new blog as per the instructions at http://codex.wordpress.org/Installing_WordPress#Using_the_MySQL_Client

    Please help

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    Change the $table_prefix in wp-config.php to something different than the 1st blog.

    Review Installing Multiple Blogs

  3. iandv
    Member
    Posted 2 years ago #

    Hi
    Thanks...

    I have put the wp-config file back in this directory with all the relevant data required for the new database I have set up and made the change of the table prefix i.e.

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'BLOG'); // The name of the database
    define('DB_USER', 'WORDPRESS'); // Your MySQL username
    define('DB_PASSWORD', 'PASSWORD'); // ...and password
    define('DB_HOST', 'LOCALHOST'); // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
    $table_prefix = 'wp1

    However I am now getting the error
    "Error establishing a database connection" .....

    ???

  4. MichaelH
    Volunteer
    Posted 2 years ago #

    You should be able to copy the wp-config.php from your other blog and only change the $table_prefix value.

  5. iandv
    Member
    Posted 2 years ago #

    Hi Michael

    I thiught you would only change the $table_prefix value if you wanted to use the same database? Ideally I am trying to have the two blogs stored in seperate databases.

    I have created a new seperate database within MYSQL for the new blog as per the wordpress instructions @ http://codex.wordpress.org/Installing_WordPress#Using_the_MySQL_Client

    However at present this database has no tables etc as WordPress is throwing the "Error establishing a database connection" error when trying to run /wp-admin/install.php.

    From the MYSQL command prompt when running 'Show Databases' I get

    ============
    Database
    -----------
    information_schema
    mysql
    OldBlog
    Blog
    -------------

    Which shows that the new database "Blog" has been created so why can't WordPress make a database connection to it?

    Any ideas?

  6. MichaelH
    Volunteer
    Posted 2 years ago #

    However at present this database has no tables etc as WordPress is throwing the "Error establishing a database connection" error when trying to run /wp-admin/install.php.

    That typically means one of the items (database, user, password, host) in your wp-config.php is wrong.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.