暂无描述

own3mall e1ed88fc24 Better Rsync Handling 6 年之前
Crypt 1901f57dfc Migrated from sf.net version 3390 9 年之前
css c4a5817ef0 Added dialogue box for Steam Guard code 8 年之前
images 4bf7f74dfa Post Scriptum basic support (#453) 6 年之前
includes 43ab74e82a Remove Charset Setting 6 年之前
js 52b38d35eb Minor Adjustments to Sortable Servers 6 年之前
lang e1ed88fc24 Better Rsync Handling 6 年之前
modules e1ed88fc24 Better Rsync Handling 6 年之前
protocol eba3a8c231 Using official Post Scriptum ports difference (#454) 6 年之前
themes 15247f7073 Minor Styling Change 8 年之前
COPYING 1901f57dfc Migrated from sf.net version 3390 9 年之前
README.md 351dfd6ea6 styling code 8 年之前
home.php 8c77cf026c Subuser Expiration Date Affected By Main User's Expiration Date 6 年之前
index.php e8a2307e55 Game Server Ordering - Can be set by admin user only (#449) 6 年之前
install.php b8e8c5064d Added MySQLi Check - Fixes https://github.com/OpenGamePanel/OGP-Website/issues/455 6 年之前
ogp_api.php e8a2307e55 Game Server Ordering - Can be set by admin user only (#449) 6 年之前
test_api.php 57dd902b67 PHP Compatibility 7 年之前

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 the 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 example, the following command:

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

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.