How to find DB_NAME, USER and PASSWORD

January 29, 2017 743 views
WordPress Ubuntu 16.04


I accidentally overwrite “wp-config” on my Wordpress installation with the “wp-config” of my local installation. I don’t have a backup of this “wp-config”… So my question is : how can I find the name of the database, the username and the password?

And what about the authentication Unique Keys and Salts?

Should I do a fresh installation of my wordpress?

Be the first one to answer this question.