Spring Roo Database.properties文件

| 您好,我无法在spring roo项目中连接到数据库。我的错误是ERROR org.hibernate.util.JDBCExceptionReporter-未选择数据库
org.hibernate.exception.GenericJDBCException: could not execute query;
nested exception is javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: could not execute query
我的Database.properties文件
database.password=test@
database.url=jdbc\\:mysql\\://yahoo.com:3306
database.username=arv_aaa    
database.schemaNames=ar@1
database.driverClassName=com.mysql.jdbc.Driver
    
已邀请:
只需修复以下行:
database.url=jdbc\\:mysql\\://yahoo.com:3306
并通过以下方式添加一些数据库:
database.url=jdbc\\:mysql\\://yahoo.com:3306/mydb
希望这可以帮助!     

要回复问题请先登录注册