Title: re-installation problems
Last modified: August 19, 2016

---

# re-installation problems

 *  [darko74](https://wordpress.org/support/users/darko74/)
 * (@darko74)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/)
 * Due to the release of the last version, and because of some problems I experienced
   in the wordpress editor, I chose to download and install the new version from
   scratch instead of upgrading it. I deleted (after saving a backup) the files 
   in my old blog directory. However I left the database intact. I had just three
   posts but one of them too long that I didn’t want to re-create them.
 * After following the instructions the same way I did the first time (download 
   it, configure **wp_config.php** with proper access constants for the database
   and upload it to its final directory) I called **wp-admin/install.php** but a
   page saying “Error establishing a database connection” appears.
 * What else could I do? I’d prefer not to use a new empty database, but if there’s
   no other choice, I’d like to know.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/re-installation-problems/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/re-installation-problems/page/2/?output_format=md)

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279236)
 * Check your database details again, and the file name is wp-config.php, not wp_config.
   php
 *  Thread Starter [darko74](https://wordpress.org/support/users/darko74/)
 * (@darko74)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279247)
 * Yes, it was a spelling mistake, I meant I edited wp-config.php
 * I’ve checked the database config again and again (DB name, user, password) and
   I’m quite sure everything is correct.
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279253)
 * Check and check again. Use a plain text editor for wp-config. Upload all the 
   WP files and directories again.
 *  Thread Starter [darko74](https://wordpress.org/support/users/darko74/)
 * (@darko74)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279269)
 * I’ve checked the configuration over and over again, and uploaded all the wordpress
   files again, but there’s no way to get it working.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279278)
 * listen closely, if you get this error message:
 * “Error establishing a database connection”
 * then youre not connecting to the db.
 * end of conversation.
 * wordpress does NOT lie when it comes to spiiting out db messages.
 *  Thread Starter [darko74](https://wordpress.org/support/users/darko74/)
 * (@darko74)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279285)
 * oh, nice answer, thank you very much! Who said wordpress is lying?? I don’t like
   anything who comes from people with that attitude. Save your time please.
 * To everybody else who reads, I’ll contact my hosting administrator to see what’s
   happening…
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279292)
 * your defensiveness isnt necessary — im merely reiterating what was said above
   about the doublechecking, triplechecking..
 * what its telling you is accurate, thats all im trying to stress.
 * if you want to test your settings here is a copy and paste off any of a 1000 
   websites that explain how to make php talk to mysql:
 *     ```
       <?php
       $dbhost = 'localhost'; //edit as needed
       $dbuser = 'username'; //edit ..
       $dbpass = 'password'; //edit ..
   
       $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
       $dbname = 'dbname'; //edit this too ...
       mysql_select_db($dbname);
       ?>
       ```
   
 * create a new test.php file and use the values that you have in your wp-config.
   php for the edits above. upload it to your site and load it in a browser.
 *  [wrightboy](https://wordpress.org/support/users/wrightboy/)
 * (@wrightboy)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279344)
 * Hi have exactly the same problem (even thought I´m a bit scared what whooami´
   s gonna say lol)but used the same procedure on my other wp sites but this problem
   is doing my head in. Yes I have tried test.php but nada zip.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279345)
 * wrightboy,
 * then youre **not** using the right settings.
 *  [wrightboy](https://wordpress.org/support/users/wrightboy/)
 * (@wrightboy)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279346)
 * I am sorry but obviously this is all straight forward to you but me it certainly
   is not so could you what the right settings are or where I should be looking 
   at least. Dont worry I will listen closely…
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279348)
 * i dont know what your right settings are. no-one here can tell you that. perhaps
   if you want to tell us who your host is, you can be pointed in the right direction…
   no telling.
 * have you read and followed these instuctions:
 * [http://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_User](http://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_User)
 * and why try to bait me with the last remark? your first mention of me wasnt enough?
   I didnt bite? youre bored and looking to troll the forums? what?
 *  [wrightboy](https://wordpress.org/support/users/wrightboy/)
 * (@wrightboy)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279356)
 * Hey whooami no offence meant just a little light hearted humour I know the good
   work you put in to this forum and I certainly would not want to offend you or
   any of the other contributors. Anyway solved my problem and when you say check
   and check again that is what people should do. My problem: ‘ user_name’ should
   of been ‘user_name’ one stupid little space,problem is sometimes you just have
   to walk away and come back to it later it seems to have worked.
 * Thx
 *  [wilsonvision](https://wordpress.org/support/users/wilsonvision/)
 * (@wilsonvision)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279360)
 * I have uploaded all of the appropriate files, and even left wp_config.php intact.
   Yet when I log into my admin panel, the old WordPress is still there. It is recognized
   that I need to update, but my version is 2.3, so I’m just redirected to the page
   to download the thing. Any suggestions are appreciated.
 *  [wilsonvision](https://wordpress.org/support/users/wilsonvision/)
 * (@wilsonvision)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279361)
 * And when I load wp_upgrade.php I am told that no upgrade is required
 *  [wrightboy](https://wordpress.org/support/users/wrightboy/)
 * (@wrightboy)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/#post-1279362)
 * oops seems I spoke to soon think this needs an expert to tell me what I have 
   done wrong. [mens health](http://www.mans-health.net)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/re-installation-problems/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/re-installation-problems/page/2/?output_format=md)

The topic ‘re-installation problems’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 17 replies
 * 6 participants
 * Last reply from: [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/re-installation-problems/page/2/#post-1279375)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
