By MarcR
Hi,
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
I would recommend logging into your MySQL instance and looking up for your database:
SHOW DATABASES;
If you have a descriptive name it would be easier for you to find the database.
Once you have your database name, you could either try to do the same for your user, or create a new user instead:
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.