2017-09-13 4 views
0

내가 터미널에서 Liquibase를 실행하려고 :Liquibase : 통신 링크 오류

명령 :

[email protected] ~/Development/Liquibase $ java -jar liquibase.jar --changeLogFile=ChangeLog/create.xml --username=root --password=Pass123 --url=jdbc:mysql://192.168.1.8:3306/Semafor --classpath=lib/mysql-connector-java-5.1.44-bin.jar update 
Unexpected error running Liquibase: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure 
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 

핑 호스트로 :

~/Documents/Development/Liquibase $ ping 192.168.1.8 
PING 192.168.1.8 (192.168.1.8) 56(84) bytes of data. 
64 bytes from 192.168.1.8: icmp_seq=1 ttl=64 time=1.29 ms 

답변

0

하드 말했지만, 그 동안 수 있습니다 당신은 호스트를 핑 (ping) 할 수 있으며, 다른 통신은 방화벽 또는 유사 장치에 의해 차단됩니다. MySQL 포트가 열려 있는지 확인해야합니다.