Chris Rosenau Posted December 8, 2013 Share 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 Link to comment Share on other sites More sharing options...
dragan Posted December 8, 2013 Share 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'; Link to comment Share on other sites More sharing options...
Chris Rosenau Posted December 8, 2013 Author Share 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. Link to comment Share on other sites More sharing options...
Martijn Geerts Posted December 8, 2013 Share Posted December 8, 2013 Thats why I always walk with 3 shoes, incase I loose one while walking. 5 Link to comment Share on other sites More sharing options...
einsteinsboi Posted December 16, 2013 Share Posted December 16, 2013 Thats why I always walk with 3 shoes, incase I loose one while walking. Link to comment Share on other sites More sharing options...
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