• Resolved tripleg

    (@tripleg)


    Hi everyone,
    Let me give you the background: I’m trying to install WordPress onto my server but for the time being I only have FTP access (that is, I can’t dial into any control panels, including phpMyAdmin).

    Now, I’m familiar with installing WordPress generally, as this server used to have a WordPress blog up until yesterday when my computer crashed during an upgrade and the site would no longer load (errors galore that a manual install only made worse). That’s no big deal but what I’m hoping to do is (re)install WordPress in such a way that it picks up where it left off by reading the existing SQL tables on the server already, since I can’t pull an up-to-date copy of my SQL database to plug into my new install. I can’t seem to find any documentation on performing a new install using an existing database and I suspect someone here might be able to help me do it.

    A side note, the blog was previously installed into /wordpress but I see no need to do that now; if I were to install everything into the root what would I need to change in the config after reinstalling?

    Thanks for your help,
    3m

Viewing 2 replies - 1 through 2 (of 2 total)
  • you can change this line in wp-config.php
    $table_prefix = 'wp_';
    make the table prefix different for your second install – like
    $table_prefix = 'wp2_';

    Thread Starter tripleg

    (@tripleg)

    thanks for the reply but i found the coding error and also regained phpmyadmin access so it’s all resolved now for me.

    cheers,
    3m

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installing WordPress to use an existing database’ is closed to new replies.