Unable to connect to database after editing site.php

Permalink
To increase the upload size I followed this guide.
http://www.concrete5.org/documentation/how-tos/editors/increase-upl...

After the change the website was unable to connect to database. So I deleted the previously added lines again, but after uploading the website still can't access the database.
Stupidly I forgot to backup the database.

What can I do to get this to work again?

Jormungand
 
ronyDdeveloper replied on at Permalink Best Answer Reply
ronyDdeveloper
If you have access the phpmyadmin panel, just go to there any find the database name, then the username assigned into it. Then copy it and paste it into the site.php
If you remember the password for that database, fine otherwise reset the password of that username and put it there in site.php

Rony
Jormungand replied on at Permalink Reply
Jormungand
I overwrote the right site.php with a wrong one.

Thanks to your help I could recover the most of the login information (even the password!).
But I don't know the PASSWORD_SALT. What can I do to to find it?
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
Well I don't think that it will be problem with database connection if you don't have the PASSWORD_SALT. Rather you won't be able to login. Just try to copy any old site password and change few characters. Then click forgot password on login page to get your login password back.

Rony
Jormungand replied on at Permalink Reply 1 Attachment
Jormungand
It would be not a problem to get in the backend, but I can't even reach the website!
http://2013.volumeberlin.com/

EDIT: FINALLY! One letter was still wrong in the DB login. But now it works again.

Thank you, Rony for your precious help!