我正在尝试将spring与MySQL联系起来。然而,我得到了以下错误,有人能帮助我吗?application.properties:
spring.datasource.url=jdbc:mysql://localhost/osworks?createDatabaseIfNotExist=true&serverTimezone=UTC数据spring.datasource.data- spring.datasource.username=at com
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) ~[mysql-connector-java:64) ~[mysql-connector-java-8.0.20.jar:8.0.20]
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836) ~[mysql-connector-j
我正在使用MySQL数据库进行Spring项目。如果我运行我的代码,一个WrongArgumentException表示databaseURL cannot be null。application.properties:spring.datasource.jdbc-url=jdbc:mysql//localhost:3306/reser