power designer 连接mysql提示“connection test failed”

时间:2023-01-02 19:23:54

本机环境:

win10 64位

jdk8 64位

问题:

power designer 连接mysql提示“connection test failed”

测试连接时,总是提示

power designer 连接mysql提示“connection test failed”

根据网上搜索:

根源在于:PowerDesigner based on 32 bit JVM kernel

参考:

http://hunt1574.blog.51cto.com/1390776/1016582

http://prog3.com/sbdm/blog/czmchen/article/details/32155753

下面是连接的内容,怕丢了,这边贴过来:

Using PowerDesigner to generate the table structure in reverse, need MySQL connection, configured to connect directly, test report: connection test failed"!

OS:WIN7 flagship version 64
JDK: 64
PowerDesigner:15.1.0.2850
 
Problem causes:
PowerDesigner based on 32 bit JVM kernel
 
Detailed processing ideas
Install JDK 32bit
Configure JDK 32bit environment variable
Configure JDK powerdesign environment variable
PowerDesigner Tools Options - > General - > Variables:
C:\Program Files JAR (x86) \Java\bin\jar.exe
JAVA Files C:\Program (x86) \Java\bin\java.exe
JAVAC Files C:\Program (x86) \Java\bin\javac.exe
JAVADOC Files C:\Program (x86) \Java\bin\javadoc.exe
 
Restart powerdersign, connect successfully!