# mysql-search-replace を Homebrew でインストール

mysql-search-replace のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:mysql-search-replace
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mysql-search-replace
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:mysql-search-replace
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.1.4
- **ソース概要:** Database search and replace script in PHP
- **ホームページ:** <https://interconnectit.com/products/search-and-replace-for-wordpress-databases/>
- **リポジトリ:** <https://github.com/interconnectit/Search-Replace-DB>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- srdb (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.1.4
## プロジェクトの歴史と使われ方

Search Replace DB is interconnect/it's GPLv3 PHP utility for database search-and-replace work during PHP and MySQL site migrations. Its own README frames the tool around migrating PHP/MySQL websites and says it works with common CMSes; the workflow is deliberately operational, with backups first, file migration, upload of the script folder, a browser UI, and a safe dry run before applying replacements.

### 使われ方

The 4.1 line added several features that explain the package's niche: multiple search-replaces, table exclusions, PHP/module/security checks, CLI SSL connection support, and removal of WordPress-specific automatic credential loading because it created security issues when users left the script on sites. In practice the Homebrew formula packages it as `mysql-search-replace` with the `srdb` executable, making a historically web-distributed migration script available as a command-line tool for developers who need a targeted database replacement step rather than a full CMS migration framework.

### ソース

- <https://formulae.brew.sh/formula/mysql-search-replace>
- <https://github.com/interconnectit/Search-Replace-DB>
- <https://interconnectit.com/search-and-replace-for-wordpress-databases/>
- <https://raw.githubusercontent.com/interconnectit/Search-Replace-DB/master/README.md>


## セキュリティノート

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal


## Combined YAML source

View the package source record on GitHub. [combined/mysql-search-replace.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mysql-search-replace.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
