Knowledge Base Article

How to reset my Gallery 2 administrative password.

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 directly through the Gallery2 database.

Goto your cPanel -> Databases section and click phpMyAdmin. Once phpMyAdmin loads select the Gallery2 database from the drop-down menu to the left. The page will refresh and the database's tables will be displayed. 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

Please indicate if this article was helpful for you.

rating :  4.3 from 5
views :  6752
votes :  28

Related Articles

Views

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!