# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mysql-search-replace>
- **バージョン:** 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>
- **上流ドキュメント:** <https://interconnectit.com/products/search-and-replace-for-wordpress-databases/>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://github.com/interconnectit/Search-Replace-DB/archive/refs/tags/4.1.4.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- srdb (cli)
- srdb (エイリアス)

## 依存関係

- php

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 4.1.4
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/interconnectit/Search-Replace-DB
- 検出された最新: 4.1.4 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mysql-search-replace
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [php](https://pkg.so/ja/brew/php/) - Runtime dependency declared by Homebrew.
- [bee](https://pkg.so/ja/brew/bee/) - Shares pkgdb curated category or tags: cli, data, database, database-migration, migration.
- [mysql-to-sqlite3](https://pkg.so/ja/brew/mysql-to-sqlite3/) - Shares pkgdb curated category or tags: cli, data, database-migration, mysql.
- [mysql](https://pkg.so/ja/brew/mysql/) - Shares pkgdb curated category or tags: cli, data, database, mysql.
- [mysql@8.0](https://pkg.so/ja/brew/mysql-8-0/) - Shares pkgdb curated category or tags: cli, data, database, mysql.
- [mysql@8.4](https://pkg.so/ja/brew/mysql-8-4/) - Shares pkgdb curated category or tags: cli, data, database, mysql.
- [lazysql](https://pkg.so/ja/brew/lazysql/) - Shares pkgdb curated category or tags: cli, data, database, mysql.
- [rainfrog](https://pkg.so/ja/brew/rainfrog/) - Shares pkgdb curated category or tags: cli, data, database, mysql.
- [mydumper](https://pkg.so/ja/brew/mydumper/) - Shares pkgdb curated category or tags: cli, data, database, mysql.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
