RepositoryPHPESTây Ban Nha
IF

ifsnop/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3ksao
290fork
20issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: php7

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: pdo

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: hhvm

#1 Repository của tuần

🛠️ mysqldump-php: Phiên bản PHP của mysqldump không phụ thuộc

Thư viện PHP thuần, dùng PDO, tái hiện hành vi của mysqldump CLI — hỗ trợ nén, dump BLOB dạng hex, dependencies view, routines, events, hooks biến đổi dữ liệu và lưu trực tiếp lên Google Cloud Storage.

mysqldump-php là phiên bản PHP của công cụ mysqldump đi kèm MySQL, không cần phụ thuộc bên ngoài, hỗ trợ nén đầu ra và cấu hình mặc định hợp lý. Dùng PDO để kết nối, hỗ trợ sao lưu cấu trúc bảng, dữ liệu, view, trigger và event từ MySQL 4.1+.

✨ Điểm nổi bật

  • Dump BLOB dưới dạng hex: xuất nhị phân an toàn trong SQL.
  • Giải quyết dependencies view: dùng bảng Stand-In để tránh lỗi thứ tự tạo view.
  • Dump stored routines và events: bao gồm hàm và thủ tục lưu trữ.
  • Hỗ trợ cột ảo MySQL 5.7: xuất đúng cú pháp generated columns.
  • Biến đổi dữ liệu on-the-fly qua hook: xử lý giá trị hàng trước khi ghi.
  • Lưu trực tiếp lên Google Cloud Storage: dùng stream wrapper nén GZIP.
  • Khôi phục dump từ file: phục hồi khi không có mysql executable.
  • Kiểm thử tương thích PHP 5.3 đến 7.3 và HHVM: liên tục đối chiếu với mysqldump gốc.

💡 Vì sao đáng chú ý

Khác với mysqldump CLI cần cài đặt môi trường MySQL, mysqldump-php chỉ cần PDO — phù hợp triển khai ứng dụng PHP chưa có mysql trên server. Đặc biệt hữệnh cho bối cảnh đám mây cần lưu trữ nén trực tiếp lên GCS hoặc xử lý dữ liệu nhạ delicate trước khi dump.


#PHP #MySQL #mysqldump #DatabaseBackup #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryJava
dbeaver/dbeaver

Free universal database tool and SQL client

52.6k
Nov 30, 2026
RepositoryTypeScript
prisma/orm

The Prisma ORM: write your application in TypeScript with human-readable queries instead of SQL. Host your database on Prisma Postgres and your app on Prisma Compute.

47.8k
Nov 29, 2026
RepositoryGo
pingcap/tidb

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

40.8k
Dec 1, 2026
RepositoryTypeScript
typeorm/typeorm

TypeScript & JavaScript ORM for Node.js — supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, and more.

36.7k
Nov 25, 2026
RepositoryTypeScript
sequelize/sequelize

Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB, DB2 and DB2 for IBM i.

30.3k
Nov 21, 2026
RepositoryGo
dolthub/dolt

Dolt – Git for Data

25.0k
Dec 2, 2026
RepositoryTypeScript
chartdb/chartdb

Database diagrams editor that allows you to visualize and design your DB with a single query.

23.2k
Nov 1, 2026
RepositoryRust
transact-rs/sqlx

🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.

17.8k
Nov 29, 2026
RepositoryGo
go-sql-driver/mysql

Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package

15.3k
Nov 27, 2026