|
|
@@ -14,22 +14,22 @@ the password is asked (same as in config.inc.php).
|
|
|
|
|
|
*** Restore Database Backup ***
|
|
|
|
|
|
-Backup can be restored with following command:
|
|
|
+Backup can be restored with the following command:
|
|
|
|
|
|
$ mysql --user [username] -p [database] < backup.sql
|
|
|
|
|
|
|
|
|
-*** Lost admin password ***
|
|
|
+*** Lost Admin Password ***
|
|
|
|
|
|
-In case you lose the admin password you can reset the password with for
|
|
|
-eample the following command:
|
|
|
+In case you lose the admin password you can reset the password with, for
|
|
|
+example, the following command:
|
|
|
|
|
|
$ mysql --user [username] -p [database]
|
|
|
|
|
|
-Then type in following command but change the OGP_USERNAME and NEW_PASSWORD
|
|
|
+Then type in the following command but change the OGP_USERNAME and NEW_PASSWORD
|
|
|
to the proper ones:
|
|
|
|
|
|
UPDATE ogp_users SET users_passwd=MD5('NEW_PASSWORD')
|
|
|
WHERE ogp_users.users_login='OGP_USERNAME';
|
|
|
|
|
|
-After this type quit to exit the mysql prompt.
|
|
|
+After this type quit to exit the MySQL prompt.
|