Download the PHP package dvdgiessen/dbsr without Composer
On this page you can find all versions of the php package dvdgiessen/dbsr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dvdgiessen/dbsr
More information about dvdgiessen/dbsr
Files in dvdgiessen/dbsr
Package dbsr
Short Description Database Search & Replace
License GPL-3.0
Homepage https://github.com/DvdGiessen/DBSR#readme
Informations about the package dbsr
DBSR: Database Search & Replace
DBSR provides functionality for committing search-and-replace-operations on MySQL databases. It's main advantage above using a simple REPLACE()-SQL statement is the support for parsing PHP serialized strings, which are commonly used in for example WordPress databases.
Since DBSR does its own parsing of serialized strings, it is also able to repair corrupted serializations, a problem often seen when less advanced search-replace scripts were used before on the same database.
Requirements
Minimum supported PHP version is 5.3 and is tested with versions up to 7.4. PDO
is used for connecting with the database, so make sure you have the pdo
and
pdo_mysql
extensions enabled.
Usage
First, head over to the releases page and download the latest version of DBSR.
You can either download the CLI version which you can use from the command line, or the GUI version which can be uploaded to a webserver and accessed through a web browser.
Note: Some tutorials make you download this entire repository and put it on your web server. I do not recommend this. For most users, just downloading the GUI version (DBSearchReplace-GUI.php) and uploading that to your web server is the recommended way to use DBSR.
Note: Another thing I see many tutorials recommend is using the extensive search
option. In most cases, if you are just replacing plain text values
in your WordPress database, you should not use this option. It will make
DBSR extremely slow and is not needed, everything will work fine without it.
GUI version
The GUI of DBSR provides a simple to use, 4 step wizard for performing search and replace operations on your database. It has a number of handy features for auto-detecting and completing your settings, offering some automated checks to help prevent common mistakes, and the ability to delete itself after you've completed all your work.
CLI version
Usage of the CLI version is best explained by the built-in --help
output:
For an example of a configuration file, see example-config.json.
Issues?
If you encounter any issues with DBSR, open an issue on GitHub and provide as much details as possible.
License
DBSR is free software licensed under the GPLv3. See LICENSE for more information.
All versions of dbsr with dependencies
ext-pdo Version *
ext-pdo_mysql Version *