Changing database password after installing

Once you've installed phpList Version 2... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

Changing database password after installing

Postby flo » 7:48am, Wed 01 May, 2013

PHPList has been installed and is working fine. But now I need to change the database password. Where would I change this in PHPList so that it can continue to access the database with the new password? In the PHPList config file or in the PHPList database?
flo
phpLister
 
Posts: 13
Joined: 7:11am, Fri 16 Jun, 2006

Re: Changing database password after installing

Postby Dragonrider » 7:52am, Wed 01 May, 2013

Assuming you can change your password to your database via your web space control panel, to allow your phpList installation to continue to access your database, with the new password, make the change quite early on in the lists/config/config.php file.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Changing database password after installing

Postby deedub » 7:14pm, Sat 30 Nov, 2013

I'm running 3.0.2 and in my config.php file the database password is shown encrypted (good!). So, if I change the database password in my web space 'My SQL Manager', do I just type in the new (unencrypted) password to config.php? I'm guessing the answer is 'no'.

My problem is that stupidly I didn't record the database password at the time of installation, so I'm stuck now. If I change the psw in the 'My SQL Manager' without changing the corresponding psw in PHP List, I'll be locked out.

The only solution I can see is that I'll have to re-install PHP List, which is a pain (but of my own making, so I can't really complain).

regards

David
deedub
phpList newbie
 
Posts: 1
Joined: 6:59pm, Sat 30 Nov, 2013


Return to Question & Problems - after installing

Who is online

Users browsing this forum: No registered users and 4 guests