LibrePlan / libreplan

LibrePlan - Open Web Planning
https://www.libreplan.dev
GNU Affero General Public License v3.0
291 stars 172 forks source link

how to config username and password for mysql #1902

Closed jbqh closed 5 years ago

jbqh commented 5 years ago

mvn -Pprod,mysql clean install ... INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] LibrePlan 1.6.0 .................................... SUCCESS [ 1.153 s] [INFO] LibrePlan Business Module .......................... FAILURE [ 4.025 s] [INFO] LibrePlan ZK Components Module ..................... SKIPPED [INFO] LibrePlan Web Client Module 1.6.0 .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.070 s [INFO] Finished at: 2019-03-27T09:25:03+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.5.1:update (default) on project libreplan-business: Error setting up or running Liquibase: liquibase.exception.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure [ERROR] [ERROR] The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.: Connection refused (Connection refused) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :libreplan-business

jbqh commented 5 years ago

it's ok