Download the PHP package guirong/php-database without Composer
On this page you can find all versions of the php package guirong/php-database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download guirong/php-database
More information about guirong/php-database
Files in guirong/php-database
Download guirong/php-database
More information about guirong/php-database
Files in guirong/php-database
Vendor guirong
Package php-database
Short Description A Simple Database Operation Library for PHP
License MIT
Homepage https://github.com/GuiRong2969/php-database
Package php-database
Short Description A Simple Database Operation Library for PHP
License MIT
Homepage https://github.com/GuiRong2969/php-database
Please rate this library. Is it a good library?
Informations about the package php-database
PHP Database
php的一个简单数据库操作依赖包。
- 数据库备份
- 数据库恢复
项目地址
注意:
- 版本要求
php >= 5.5.0
安装
数据库备份
Mysql数据库备份,生成.sql
文件:
- 示例: (_备份数据库
my_database
_ )
初始化mysql服务
设置.sql
备份文件存储目录,执行备份
如果某些表无需备份,你可以在备份前忽略它们
备份成功后,获得文件路径,如:
/www/wwwroot/my_project/database/backup/mysql-my_database-202307131630.sql
如果你不想自动生成备份文件名,你可以自行指定
备份成功后,获得文件路径:
/www/wwwroot/my_project/database/backup/我的mysql备份文件-1.sql
数据库恢复
Mysql数据库恢复,导入.sql
文件:
- 示例: (_恢复数据库
my_database
_ )
初始化mysql服务
指定.sql
备份文件,执行导入,恢复数据
如果只需恢复某些表的数据,你可以指定它们
结语
当前的数据库操作依赖包仅供参考,备份数据量巨大的数据库时请谨慎使用。
License
MIT
我的其他项目
guirong/cli-message
github
一个简单易用的,命令行输出样式工具库
guirong/php-router
github
轻量且快速的路由库
guirong/php-closure
github
闭包的序列化和反序列化类库
guirong/php-validate
github
一个轻量级且功能丰富的验证和过滤库
guirong/php-event
github
一个简洁小巧的php事件监听器
guirong/php-shell
github
一个基于psysh shell
的命令行交互模式依赖包
guirong/laravel-validate
github
基于Laravel
验证器扩展验证场景
All versions of php-database with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
The package guirong/php-database contains the following files
Loading the files please wait ....