# 使用 Homebrew 安装 mysql-search-replace

查看 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
