How to reset administrator password of Coppermine photo gallery
In Coppermine photo gallery, user passwords can be easily reset using ‘Forgot password’ link in the gallery login page.
The new password generation link would be mailed to the email account corresponding to that user.
But in cases where the email server is not working or someone hacked your account and changed the settings, you may have to reset the password via backend.
Today we’ll see how to reset the administrative password for Coppermine photo gallery from the backend.
1. Identify the database
Coppermine photo gallery stores all the information in database. The first step to reset administrative password is to identify this database name.
The Coppermine configuration file is found in the ‘includes’ folder in the website gallery folder. The file name would be ‘config.inc.php’ and it contains the database details.
Find the database name from the entry corresponding to the ‘dbname’ in the config file. This is the database which contains the table to update the user password.
2. Take a backup of the database
Before making any database updates, it is advisable to take a backup of the database using the ‘mysqladmin’ tool.
This is a precautionary measure to ensure that the gallery can be restored in case a wrong sql query ends up crashing the entire database and the gallery.
Bobcares provides Outsourced Hosting Support and Outsourced Server Management for online businesses. Our services include Hosting Support Services, server support, help desk support, live chat support and phone support.