Knowledge Base Article
If you have forgotten your admin password and want to recover it, you have to use the "password recover mechanism" which is available under your Gallery's login page. Please note that you must have access to the email address, which you have provided for the administrative account during the installation process.
In case you do not have access to that email address, you can change it through the Gallery2 database directly.
Goto your cPanel -> MySQL Databases section. Scroll down the page till you notice the small phpMyAdmin link. Click on it. Once in the phpMyAdmin select the Gallery2 database from the drop-down menu on the left. The page will refresh and the database's tables will be displayed on it. Open the SQL tab (look at the top navigation bar).
In the text field write the following SQL query:
UPDATE `g2_User` SET `g_email` = 'new_email' WHERE `g2_User`.`g_userName` = 'admin_username' LIMIT 1 ;
Change "new_email" with the email address you wish the new password sent to and "admin_username" with your Galley2 admin username.
Once you are ready, click on the GO button to submit the query. If everything goes fine without errors, go to your Gallery2 installation and try again to retrieve your admin password.
Rating
|
Related Articles |
Views |

