Skip to content

[STALE] OGP-Website style reformatting

License

GPL-3.0, GPL-2.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

HugoJF/OGP-Website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,733 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

[STALE] OGP-Website style reformatting

Topics

Resources

License

GPL-3.0, GPL-2.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.2%
  • PHP 41.5%
  • HTML 2.1%
  • CSS 1.1%
  • ColdFusion 0.4%
  • Classic ASP 0.2%
  • Other 0.5%