sidus/database-maintenance-bundle
最新稳定版本:v2.0.0
Composer 安装命令:
composer require sidus/database-maintenance-bundle
包简介
Simple database maintenance with Doctrine and MySQL
README 文档
README
This bundle allows you to execute mysql and mysqldump commands without passing any authentication parameters, il will automatically uses the one declared in doctrine.
Dumping local database:
$ bin/console sidus:database:mysqldump > dump.sql
Dumping remote database to local file:
$ ssh username@host "/path/to/symfony/bin/console sidus:database:mysqldump" > dump.sql
Copying remote database to local:
$ ssh username@host "/path/to/symfony/bin/console sidus:database:mysqldump" | bin/console sidus:database:mysql
Copying local database to remote:
$ bin/console sidus:database:mysqldump | ssh username@host "/path/to/symfony/bin/console sidus:database:mysql"
统计信息
- 总下载量: 16.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-04