{"id":34263547,"url":"https://github.com/lesterchan/wp-dbmanager","last_synced_at":"2026-03-10T20:37:57.085Z","repository":{"id":46583405,"uuid":"9640065","full_name":"lesterchan/wp-dbmanager","owner":"lesterchan","description":"Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up, optimizing and repairing of database.","archived":false,"fork":false,"pushed_at":"2024-11-24T13:36:26.000Z","size":640,"stargazers_count":73,"open_issues_count":9,"forks_count":27,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-20T05:09:55.280Z","etag":null,"topics":["backup-database","lesterchan","mysql","mysqldump","restore-database","wordpress","wordpress-plugin","wp-dbmanager"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/wp-dbmanager/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lesterchan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-04-24T05:24:24.000Z","updated_at":"2025-11-28T21:51:49.000Z","dependencies_parsed_at":"2024-11-24T14:24:21.520Z","dependency_job_id":null,"html_url":"https://github.com/lesterchan/wp-dbmanager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lesterchan/wp-dbmanager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesterchan%2Fwp-dbmanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesterchan%2Fwp-dbmanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesterchan%2Fwp-dbmanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesterchan%2Fwp-dbmanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lesterchan","download_url":"https://codeload.github.com/lesterchan/wp-dbmanager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesterchan%2Fwp-dbmanager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30353002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup-database","lesterchan","mysql","mysqldump","restore-database","wordpress","wordpress-plugin","wp-dbmanager"],"created_at":"2025-12-16T16:43:18.658Z","updated_at":"2026-03-10T20:37:57.074Z","avatar_url":"https://github.com/lesterchan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP-DBManager\nContributors: GamerZ  \nDonate link: http://lesterchan.net/site/donation/  \nTags: database, manage, wp-dbmanager, manager, table, optimize, backup, queries, query, drop, empty, tables, table, run, repair, cron, schedule, scheduling, automatic  \nRequires at least: 4.0  \nTested up to: 6.7  \nStable tag: 2.80.10  \n\nManages your WordPress database.\n\n## Description\nAllows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up, optimizing and repairing of database.\n\n## General Usage\n1. Activate `WP-DBManager` Plugin\n1. The script will automatically create a folder called `backup-db` in the wp-content folder if that folder is writable. If it is not created, please create the folder and ensure that the folder is writable\n1. Open `Folder: wp-content/backup-db`\n1. If you are on Apache, move the `htaccess.txt` file from `Folder: wp-content/plugins/wp-dbmanager` to `Folder: wp-content/backup-db/.htaccess` if it is not there already\n1. If you are on IIS, move the `Web.config.txt` file from `Folder: wp-content/plugins/wp-dbmanager` to `Folder: wp-content/backup-db/Web.config` if it is not there already\n1. Move `index.php` file from `Folder: wp-content/plugins/wp-dbmanager` to `Folder: wp-content/backup-db/index.php` if it is not there already\n1. Go to `WP-Admin -\u003e Database -\u003e DB Options` to configure the database options\n\n### Build Status\n[![Build Status](https://travis-ci.org/lesterchan/wp-dbmanager.svg?branch=master)](https://travis-ci.org/lesterchan/wp-dbmanager)\n\n### Development\n* [https://github.com/lesterchan/wp-dbmanager](https://github.com/lesterchan/wp-dbmanager \"https://github.com/lesterchan/wp-dbmanager\")\n\n### Translations\n* [http://dev.wp-plugins.org/browser/wp-dbmanager/i18n/](http://dev.wp-plugins.org/browser/wp-dbmanager/i18n/ \"http://dev.wp-plugins.org/browser/wp-dbmanager/i18n/\")\n\n### Credits\n* Plugin icon by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com)\n\n### Donations\n* I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.\n\n### Disclaimer\n* Note that this plugin passes your datababase password via --password in the command line of mysqldump. This is convenient but as a trade off, it is insecure.\n* On some systems, your password becomes visible to system status programs such as ps that may be invoked by other users to display command lines. MySQL clients typically overwrite the command-line password argument with zeros during their initialization sequence. However, there is still a brief interval during which the value is visible. Also, on some systems this overwriting strategy is ineffective and the password remains visible to ps. Source: [End-User Guidelines for Password Security](http://dev.mysql.com/doc/refman/5.5/en/password-security-user.html)\n* If this is a concern to you, I recommend another database backup plugin called [WP-DB-Backup](https://wordpress.org/plugins/wp-db-backup/)\n* To know about the difference between WP-DBManager and WP-DB-backup, checkout __What is the difference between WP-DBManager and WP-DB-Backup?__ in the [FAQ section](https://wordpress.org/plugins/wp-dbmanager/faq/).\n\n## Changelog\n### Version 2.80.10\n* FIXED: Don't throw fatal error if unknown .sql files are inside the database backup folder.\n\n### Version 2.80.9\n* FIXED: Handle folder permissions properly\n\n### Version 2.80.8\n* FIXED: Miss out database-backup.php.\n\n### Version 2.80.7\n* FIXED: Changed 'edit_files' capability to 'install_plugins' instead.\n\n### Version 2.80.6\n* FIXED: Remove 'manage_database' and use 'edit_files' to check for capability instead.\n\n### Version 2.80.5\n* FIXED: Changed utf8 to utf8mb4 for backing up\n\n### Version 2.80.4\n* FIXED: Clear WP-DBManager cron jobs on uninstall\n\n### Version 2.80.3\n* FIXED: Poly fill array_key_first() for PHP \u003c 7.3\n\n### Version 2.80.2\n* FIXED: Newer backup is being replaced instead of older backup\n\n### Version 2.80.1\n* FIXED: 1970 date issues.\n* FIXED: Sorting order of backup files. \n\n### Version 2.80\n* NEW: Prefix MD5 checksum to the database backup file to prevent user from guessing the filename.\n \n### Version 2.79.2\n* FIXED: Arbitrary file delete bug by sanitizing filename. Props [RIPS Technologies](https://www.ripstech.com).\n\n### Version 2.79.1\n* FIXED: Added default utf8 charset\n\n### Version 2.79\n* FIXED: Proper check for disabled functions\n\n### Version 2.78.1\n* NEW: Bump WordPress 4.7\n* FIXED: Undefined index: repair and repair_period\n\n### Version 2.78\n* FIXED: escapeshellcmd on Windows. Props Gregory Karpinsky. \n* FIXED: Move wp_mkdir_p() up before if check. Props Scott Allen.\n\n### Version 2.77\n* FIXED: Blank screen downloading backup\n* FIXED: Remove MySQL Version check to display tables stats\n\n### Version 2.76\n* NEW: Add wp_dbmanager_before_escapeshellcmd action just before escapeshellcmd()\n* FIXED: Missing / for Windows\n\n### Version 2.75\n* FIXED: When activating the plugin, copy index.php to the backup folder\n* FIXED: If you are on Apache, .htaccess will be copied to the backup folder, if you are on IIS, Web.config will be copied to the backup folder\n* FIXED: When choosing 1 Month(s) for Backup/Optimize/Repair, the next date calculation is wrong\n\n### Version 2.74\n* FIXED: escapeshellarg() already escape $, no need to double escape it\n\n### Version 2.73\n* FIXED: Unable to backup/restore database if user database password has certain special characters in them\n\n### Version 2.72\n* FIXED: Use escapeshellcmd() to escape shell commands. Props Larry W. Cashdollari.\n* FIXED: Do not allow LOAD_FILE to be run. Props Larry W. Cashdollari.\n* FIXED: Uses dbmanager_is_valid_path() to check for mysql and mysqldump path. Fixes arbitrary command injection using backup path. Props Larry W. Cashdollari.\n* FIXED: Uses realpath() to check for backup path. Fixes arbitrary command injection using backup path. Props Larry W. Cashdollari.\n\n### Version 2.71\n* NEW: Bump to 4.0\n\n### Version 2.70\n* New: Uses WordPress 3.9 Dashicons\n* NEW: Allow you to hide admin notices in the DB Options page\n* NEW: Allow Multisite Network Activate\n* NEW: Uses WordPress uninstall.php file to uninstall the plugin\n* NEW: Uses wp_mail() to send email instead of PHP mail()\n* NEW: New From E-mail, From Name \u0026 Subject template\n* FIXED: Issues with email from field if site title contains , (comma)\n* FIXED: Notices\n\n### Version 2.65\n* FIXED: Set default character set to UTF-8. Props Karsonito\n\n### Version 2.64\n* FIXED: Use intval() instead of is_int() when checking for port number. Props [Webby Scots](http://webbyscots.com/ \"Webby Scots\")\n\n### Version 2.63 (03-05-2011)\n* NEW: Added Auto Repair Functionality\n* NEW: Added nonce To All Forms For Added Security\n\n## Screenshots\n\n1. Admin - Backup DB\n2. Admin - Empty/Drop Tables In DB\n3. Admin - DB Information\n4. Admin - Manage DB\n5. Admin - Optimize DB\n6. Admin - DB Options\n7. Admin - DB Options\n8. Admin - Repair DB\n9. Admin - Run Query in DB\n\n## Frequently Asked Questions\n\n### My database is not backed up / My backup file is 0Kb\n* Ensure that your host allows you to access mysqldump. You can try to narrow the problem by Debugging via SSH:\n1. In `wp-dbmanager.php`\n2. Find `check_backup_files();` on line 246\n3. Add below it `echo $command;`\n4. Go to `WP-Admin -\u003e Database -\u003e Backup`\n5. Click `Backup`\n6. It should print some debugging statements\n7. Copy that line than run it in SSH\n8. If you need help on SSH contact your host or google for more info\n\n### What is the difference between WP-DBManager and WP-DB-Backup?\n* WP-DBManager uses `mysqldump` application to generate the backup and `mysql` application to restore them via shell.\n* WP-DB-Backup uses PHP to generate the backup. In some cases WP-DB-Backup will work better for you because it requires less permissions. Not all host allows you to access mysqldump/mysql directly via shell.\n* WP-DBManager allows you to have automatic optimizing and repairing of database on top of backing up of database.\n\n### Why do I get the message \"Warning: Your backup folder MIGHT be visible to the public!\"?\n* Ensure that you have renamed `htaccess.txt` to `.htaccess` and placed it in your backup folder (defaults to `wp-content/backup-db/`)\n* If you are 100% sure you have did that and have verfied that the folder no longer is accessible to the public by visiting the URL `http://yousite.com/wp-content/backup-db/`, you can safely disable the notice by going to `WP-Admin -\u003e Database -\u003e DB Options` and set `Hide Admin Notices` to `Yes`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesterchan%2Fwp-dbmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flesterchan%2Fwp-dbmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesterchan%2Fwp-dbmanager/lists"}