Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
/ MySQLDDIC Public archive

使用PHP CLI模式生成MySQL数据库数据字典表格

Notifications You must be signed in to change notification settings

Jarvie789/MySQLDDIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQLDDIC

使用PHP CLI模式生成数据库数据字典表格

  • 以Excel表格方式整理
  • 支持导出数据表目录、数据表字段详情
  • 支持导出视图详情(待完善)
  • 支持导出触发器(待完善)
  • 支持导出存储过程(待完善)
  • 支持导出函数(待完善)
  • 支持导出客户端用户信息(待完善)

0. DEMO

图一

图二

图三

图四

1. 安装项目

[email protected]:qiutianjia/MySQLDDIC.git  
cd MySQLDDIC  
composer install  

2. 修改配置文件src/Config.php需要导出数据库连接信息

'database' => [
    'dsn' => 'mysql:host=127.0.0.1;dbname=erp;charset=utf8',
    'username' => 'root',
    'password' => 'admin',
    'driver_options' => [
    ]
]

3. 在项目根目录执行,等待文件导出完成提示信息

php index.php

About

使用PHP CLI模式生成MySQL数据库数据字典表格

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages