Mysql Database Dictionary - 简单易用的Mysql数据库字典程序
A Vue.js project
- 复制 dist 目录到开发环境中 点击下载
- 生成数据库字典文件需要 php 环境, 请留意
- 修改
dist/data/initdata.php中的 mysql 数据库配置信息 - 访问 dist 中的 index.html 点击右侧生成数据即可
- 双击表名或字段名, 即为复制操作
# install dependencies sudo npm install # npm install : gyp ERR! configure error .... https://www.jianshu.com/p/ef1e66e703dc sudo npm install --unsafe-perm # serve with hot reload at localhost:8080 sudo npm run dev # build for production with minification sudo npm run build
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
Copy the dist directory to your development environment.
Edit dist/data/initdata.php
... $this->database_type = 'mysql'; $this->database_name = 'your database_name'; $this->host = 'localhost'; $this->username = 'your username'; $this->pwd = 'your pwd'; $this->charset = 'your charset'; ...
Visit dist/index.html
Press 生成数据 on the index page