Chris Rosenau Posted December 8, 2013 Posted December 8, 2013 I accidentally overwrote my site/config.php How do I manually setup the mysql settings so I can reconnect to the database? Chris
dragan Posted December 8, 2013 Posted December 8, 2013 Not sure I understand. You can simply re-upload a new site/config.php file to the server, from a fresh PW installation, i.e. edit lines 219-223: $config->dbHost = 'localhost'; $config->dbName = 'foo'; $config->dbUser = 'bar'; $config->dbPass = 'asdfasdfasdf'; $config->dbPort = '3306';
Chris Rosenau Posted December 8, 2013 Author Posted December 8, 2013 Thanks that is what I needed. They should have that in the config so you can easily re-enter the setting manually if you lose the config.
Martijn Geerts Posted December 8, 2013 Posted December 8, 2013 Thats why I always walk with 3 shoes, incase I loose one while walking. 5
einsteinsboi Posted December 16, 2013 Posted December 16, 2013 Thats why I always walk with 3 shoes, incase I loose one while walking.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now