Sen descrición

rocco27 2e34b960b2 English language updated %!s(int64=9) %!d(string=hai) anos
Crypt 1901f57dfc Migrated from sf.net version 3390 %!s(int64=9) %!d(string=hai) anos
css 1901f57dfc Migrated from sf.net version 3390 %!s(int64=9) %!d(string=hai) anos
images 1a8a57489e Conan Exiles xml update %!s(int64=9) %!d(string=hai) anos
includes efff05232a Footer Fix: https://github.com/OpenGamePanel/OGP-Website/issues/41 %!s(int64=9) %!d(string=hai) anos
js 80e2fd31af Merge remote-tracking branch 'refs/remotes/OpenGamePanel/master' %!s(int64=9) %!d(string=hai) anos
lang 2e34b960b2 English language updated %!s(int64=9) %!d(string=hai) anos
modules 1a8a57489e Conan Exiles xml update %!s(int64=9) %!d(string=hai) anos
protocol 1a8a57489e Conan Exiles xml update %!s(int64=9) %!d(string=hai) anos
themes f4e18ec23e Updated Footer Links in Main Theme %!s(int64=9) %!d(string=hai) anos
COPYING 1901f57dfc Migrated from sf.net version 3390 %!s(int64=9) %!d(string=hai) anos
README.md 1901f57dfc Migrated from sf.net version 3390 %!s(int64=9) %!d(string=hai) anos
home.php 1901f57dfc Migrated from sf.net version 3390 %!s(int64=9) %!d(string=hai) anos
index.php 4660cf488d Ideas from https://github.com/OpenGamePanel/OGP-Website/pull/8... thanks! %!s(int64=9) %!d(string=hai) anos
install.php 700d1dbf7f Minor Color Changes %!s(int64=9) %!d(string=hai) anos

README.md

Open Game Panel

*** Backup Database ***

Backup of the existing database can be done with following command:

$ mysqldump --user [username] -p [database] > backup.sql

Replace the [username] with username located in includes/config.inc.php and [database] with database located in same file. After executing the command the password is asked (same as in config.inc.php).

*** Restore Database Backup ***

Backup can be restored with following command:

$ mysql --user [username] -p [database] < backup.sql

*** Lost admin password ***

In case you lose the admin password you can reset the password with for eample the following command:

$ mysql --user [username] -p [database]

Then type in 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.