Alrodemoa opened a new issue #7426:
URL: https://github.com/apache/skywalking/issues/7426


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [x ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   How fix it?
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   Oracle Linux 7.9
   OpenJDK Runtime Environment 18.9 
   Skywalking 8.7.0
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, 
component version.
   2021-08-09 11:27:30,769 - com.zaxxer.hikari.HikariDataSource - 80 [main] 
INFO  [] - HikariPool-1 - Starting...
   2021-08-09 11:27:30,789 - 
org.apache.skywalking.oap.server.starter.OAPServerBootstrap - 57 [main] ERROR 
[] - Failed to get driver instance for 
jdbcUrl=jdbc:mysql://localhost:3306/skywalking_db
   java.lang.RuntimeException: Failed to get driver instance for 
jdbcUrl=jdbc:mysql://localhost:3306/skywalking_db 
   
           at 
com.zaxxer.hikari.util.DriverDataSource.<init>(DriverDataSource.java:110) 
~[HikariCP-3.1.0.jar:?]
           at 
com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:334) 
~[HikariCP-3.1.0.jar:?]
           at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:109) 
~[HikariCP-3.1.0.jar:?]
           at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:108) 
~[HikariCP-3.1.0.jar:?]
           at 
com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81) 
~[HikariCP-3.1.0.jar:?]
           at 
org.apache.skywalking.oap.server.library.client.jdbc.hikaricp.JDBCHikariCPClient.connect(JDBCHikariCPClient.java:54)
 ~[library-client-8.7.0.jar:8.7.0]
           at 
org.apache.skywalking.oap.server.storage.plugin.jdbc.mysql.MySQLStorageProvider.start(MySQLStorageProvider.java:185)
 ~[storage-jdbc-hikaricp-plugin-8.7.0.jar:8.7.0]
           at 
org.apache.skywalking.oap.server.library.module.BootstrapFlow.start(BootstrapFlow.java:49)
 ~[library-module-8.7.0.jar:8.7.0]
           at 
org.apache.skywalking.oap.server.library.module.ModuleManager.init(ModuleManager.java:60)
 ~[library-module-8.7.0.jar:8.7.0]
           at 
org.apache.skywalking.oap.server.starter.OAPServerBootstrap.start(OAPServerBootstrap.java:43)
 [server-bootstrap-8.7.0.jar:8.7.0]
           at 
org.apache.skywalking.oap.server.starter.OAPServerStartUp.main(OAPServerStartUp.java:27)
 [server-starter-es7-8.7.0.jar:8.7.0]
   Caused by: java.sql.SQLException: No suitable driver
           at java.sql.DriverManager.getDriver(DriverManager.java:298) 
~[java.sql:?]
           at 
com.zaxxer.hikari.util.DriverDataSource.<init>(DriverDataSource.java:103) 
~[HikariCP-3.1.0.jar:?]
           ... 10 more
   
     
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   mysql:
       properties:
         jdbcUrl: ${SW_JDBC_URL:"jdbc:mysql://localhost:3306/skywalking_db"}
         dataSource.user: ${SW_DATA_SOURCE_USER:skywalking_user}
         dataSource.password: ${SW_DATA_SOURCE_PASSWORD:mypassword}
         dataSource.cachePrepStmts: ${SW_DATA_SOURCE_CACHE_PREP_STMTS:true}
         dataSource.prepStmtCacheSize: 
${SW_DATA_SOURCE_PREP_STMT_CACHE_SQL_SIZE:250}
         dataSource.prepStmtCacheSqlLimit: 
${SW_DATA_SOURCE_PREP_STMT_CACHE_SQL_LIMIT:2048}
         dataSource.useServerPrepStmts: 
${SW_DATA_SOURCE_USE_SERVER_PREP_STMTS:true}
       metadataQueryMaxSize: ${SW_STORAGE_MYSQL_QUERY_MAX_SIZE:5000}
       maxSizeOfArrayColumn: ${SW_STORAGE_MAX_SIZE_OF_ARRAY_COLUMN:20}
       numOfSearchableValuesPerTag: 
${SW_STORAGE_NUM_OF_SEARCHABLE_VALUES_PER_TAG:2}
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to