Skip to content

PHP生成数据库数据字典(PHP generates a database data dictionary)

Notifications You must be signed in to change notification settings

leadtodream/dataDictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataDictionary

PHP生成数据库数据字典(PHP generates a database data dictionary)

支持数据库类型

  • mysql
  • oracle
  • mssql
  • db2
  • PostgreSQL
  • Sybase
  • SQLite
  • MariaDB
  • 备注:需开启对应数据库的pdo扩展

PHP环境需求

  • PHP >= 5.4

##使用说明:

1.打开config.php,配置数据库连接参数即可.

//配置项
return array(
	'db' => array(
		//数据库类型
		'database_type' => 'mysql',
	//数据库名称
	'database_name' => 'cpj',
	
	//host
	'server' => 'localhost',
	
	//数据库用户名
	'username' => 'root',
	
	//数据库密码
	'password' => 'root',
	
	//数据库编码格式
	'charset' => 'utf8'
),
'type'=>'create',//下载类型table:表格型字典(xls),create:创建语句(txt)

);

2.运行项目:http:https://localhost//dataDictionary/index.php

3.生成的数据字典效果如下图:

License

About

PHP生成数据库数据字典(PHP generates a database data dictionary)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages