• douganderson

    (@douganderson)


    I’m reinstalling wordpress for a website that I was working on. Right now I’m all the way back to square one. The site I’m trying to get back to was a multisite installation if that makes any difference. I only had the one site on it.

    I backed up my site with updraft.

    I deleted the contents of public html and uploaded WordPress from a fresh download.

    Went to Oldwhitby.ca and got the Language page

    2 pages later entered database name “Oldwhitby” username “Admin”, entered a password, host “localhost”, and table prefix “wp_”

    I get “Error establishing a database connection”

    I believe it is supposed to create a a wp-config.php from the wp-config- sample.php but when I look in the file manager there is no wp-config.php file and the only database is the “information schema”.

    So I created a wp-config.php file with the above parameters

    Try again and I get “The file wp-config.php already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now.”

    I’ve been around this loop half a dozen times. What am I doing wrong?

    • This topic was modified 8 months ago by James Huff. Reason: install link removed from public forum

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • corrinarusso

    (@corrinarusso)

    Are you using the same username and password to reach the database as the previous install?

    Are you sure the table prefix is wp_ ?

    Has the user in your db connection been granted all rights on the db you are trying to use?

    If you are starting from scratch, why don’t you just use the tools provided by WHC and install a fresh instance?

    https://clients.whc.ca/en/knowledgebase/1715/How-to-Install-WordPress-on-your-Web-Hosting-account.html

    Thread Starter douganderson

    (@douganderson)

    Are you using the same username and password to reach the database as the previous install?

    That’s where I started but I’ve tried others and nothing works

    Are you sure the table prefix is wp_ ? Yes, but it isn’t creating a database at all

    Has the user in your db connection been granted all rights on the db you are trying to use? I’m assuming so, its my hosting account and I have to sign in

    If you are starting from scratch, why don’t you just use the tools provided by WHC and install a fresh instance? I’ve tried that too. Much the same results

    https://clients.whc.ca/en/knowledgebase/1715/How-to-Install-WordPress-on-your-Web-Hosting-account.html

    corrinarusso

    (@corrinarusso)

    Hi Doug – I think you may be confused. This should only take about 10 mins to fix everything. The reason I bring this up is bc of this comment –>

    Are you sure the table prefix is wp_ ??Yes,?but it isn’t creating a database at all

    It doesn’t need to be creating a database, it already exists. You have to make sure the tables in the db have the wp_ prefix.

    Did you use the WHC tools to ensure that your user is good to go on the db?

    How to Configure Software for MySQL Database Access – Knowledgebase – WHC.CA

    Thread Starter douganderson

    (@douganderson)

    The only database is Information schema. In that there is a table named “tables”. Is that what you are referring to? All of the info there appears to have the prefix “information_schema”. I don’t know if you can access it but the URL of the database is https://rockland.web-dns1.com:2083/cpsess2577163667/3rdparty/phpMyAdmin/index.php. I tried to add a screenshot but I couldn’t figure out how to attach it here – it wants a URL.

    “Did you use the WHC tools to ensure that your user is good to go on the db?” I’m not sure what tools you’re referring to. I looked under databases and that told me that “There are no databases associated with your account.”

    I’ve never had these problems before. In years past I’ve done websites in Drupal & joomla (as well as html). From my recollection, phpmyadmin behaved differently back then.

    corrinarusso

    (@corrinarusso)

    At this point, it’s best to talk to your host. WHC provided very good support, and you’ll have this sorted very quickly.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘config file mismatch? missing?’ is closed to new replies.