You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/09/22 13:15:07 UTC

[GitHub] [pulsar-manager] sannadi99 commented on pull request #338: Adding mysql connector dependencies

sannadi99 commented on pull request #338:
URL: https://github.com/apache/pulsar-manager/pull/338#issuecomment-696713595


   @sannadi99 did you run the tests using MySQL ?
   I am not sure it works.
   
   @eolivelli Yes i did and it worked for me in my local (mysql server and pulsar manager running in local)
   
   Probably it will work because HerdDB is compatible with MySQL dialect.
   
   Yes you are right might be wit this https://github.com/apache/pulsar-manager/blob/c300c94c8affe9be7ca66b64718f9e2629bd1281/src/main/resources/application.properties#L74
   
   And also for local testing i used datasource properties directly in application.properties like this.
   spring.datasource.driver-class-name=com.mysql.jdbc.Driver
   spring.datasource.url=jdbc:mysql://localhost:3306/pulsar_manager
   spring.datasource.schema=classpath:/META-INF/sql/mysql-schema.sql
   
   Then it worked able to see all intial setup tables in local mysql server.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org