惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - 李小加

rapidocr_api 在windows下安装 MYSQL 创建用户 配置logging.properties解决浏览器访问tomcat日志文件出现中文乱码问题 linux 安装字体解决JAVA图形中文乱码问题 linux 系统上图形生成错误 java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment MySQL 按时间段统计SQL maven 本地库添加jar包 数据接口开发管理平台(starAPI) oracle 11g https://localhost:1158/em 无法访问 & 设置自增id 第三方开源小工具 静态代码检查 mysql 数据库集群连接配置 tomcat server.xml 配置优化 SpringBoot、thymeleaf 国际化配置 解决 SpringBoot 跨域请求问题 在 centos7 系统中用 docker 创建 tomcat 服务镜像 JAVA 调用 com.google.protobuf mysql 删除多个字段重复的数据, 只保留最新的一条 Git linux服务端安装、windows 用户端使用
使用PowerDesigner16.5 逆向数据库生产表结构或导出word文档
李小加 · 2021-10-08 · via 博客园 - 李小加

使用PowerDesigner16.5 逆向数据库生产表结构或导出word文档

一:PowerDesigner16.5及JDK1.8 32位下载地址

说明:因为PD是32位的,使用JDBC连接数据库时候也需要运行在32位的Java虚拟机上。一般我们机器上安装的都是64位的,所以需要安装32位JDK不用添加到系统变量中,只需要在启动PD的时候将这个环境变量set就可以。

将启动脚本放置在安装目录中如:D:\Program Files (x86)\Sybase\PowerDesigner 16

修改启动脚本:

set JAVA_HOME=D:\softexe\JDK32_jb51

set CLASSPATH=D:\Program Files (x86)\Sybase\PowerDesigner 16\mysql-connector-java-5.1.25-bin.jar

cd "D:\Program Files (x86)\Sybase\PowerDesigner 16"

start /b PdShell16.exe

exit

说明:

1:java_home修改成自己解压后32位JDK的位置

2:mysql-connector-java-5.1.25-bin.jar:最好把mysql连接放到PD安装目录下。

修改完成之后,将启动脚本发送快捷方式到桌面。下次启动的时候,直接在桌面点击启动脚本即可。

三:连接数据库

3.1:启动

双击启动脚本后,启动PD.选择Create Model..。

DBMS:需要选择对应的数据库版本 mysql最高支持的是5.0

3.2:连接数据库配置

3.2.1:选择connect

在工具栏选择Database-Connect... 快捷键:ctrl+shift+N.如下图:

在弹出的窗口选择Connection profile: configure...

说明:

Connection profile name:连接配置文件的名称

Directory:配置文件保存位置

Description:描述

Connection type:连接类型

jdbc driver class:连接driver(mysql:com.mysql.jdbc.Driver)

jdbc connection url:数据库连接URL(mysql:jdbc:mysql://数据库ip:数据库端口/数据库)

jdbc dirver jar files:驱动jar(我们已经在启动脚本中添加了,这里就可以不用添加)

填写完以上信息后,可以 Test Connection...进行测试:

四:从数据库中逆向表结构

4.1连接数据库

File-Reverse Engineer-Database... 如下图:

4.2.3可以选中指定用户的

4.2.4.1全选