You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/11/30 02:52:25 UTC

[GitHub] [shardingsphere] xiongchengqq opened a new issue #13855: mapping values are not allowed here

xiongchengqq opened a new issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855


   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   Sharding 5.0.0 is used and configuration problems occur
   ### Expected behavior
   
   ### Actual behavior
   mapping values are not allowed here
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   Configuration is as follows:
    spring:
       shardingsphere:
          dataSources: fudabd-common-plat-db
              fudabd-common-plat-db:
                  type: com.zaxxer.hikari.HikariDataSource
                  driverClassName: com.mysql.cj.jdbc.Driver
   
   ### Example codes for reproduce this issue (such as a github link).
   ![image](https://user-images.githubusercontent.com/80461901/143976864-408295ee-7465-4af4-8e20-49d40310439e.png)
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] xiongchengqq commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
xiongchengqq commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982371979


   Import dependency issues


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] zjcnb commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982243572


   You can check your mysql server version. Is mysql 8.x ?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] xiongchengqq closed issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
xiongchengqq closed issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] xiongchengqq commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
xiongchengqq commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982247333


   spring:
     shardingsphere:
       dataSources:
         fudabd-common-plat-db:
           type: com.zaxxer.hikari.HikariDataSource
           driverClassName: com.mysql.cj.jdbc.Driver
           url: jdbc:mysql://localhost:13306/fudabd_common_plat_db?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&autoReconnect=true&failOverReadOnly=false&skip-host-cache=true
           username: root
           password: 123456


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] xiongchengqq commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
xiongchengqq commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982242714


   ![image](https://user-images.githubusercontent.com/80461901/143979158-0214b2dc-5d49-4943-9c54-47183c653f41.png)
    I am showing that the database driver is not found


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] zjcnb commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982237845


   @xiongchengqq I think your configuration hava a mistake, you can change `dataSources: fundabd-common-plat-db` to `dataSources`. remove fundabd-common-plat-db. And try it again.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] zjcnb commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982250582


   It 's no problem when i used your configuration.
   
   ![image](https://user-images.githubusercontent.com/33742097/143980572-5558d2fb-b436-4785-bf3f-04d60e207499.png)
   
   Can you provider a demo project ? 


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] xiongchengqq removed a comment on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
xiongchengqq removed a comment on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982244032


   是的,我的服务器是8.x的
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] xiongchengqq commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
xiongchengqq commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982245431


   Yes, my server is 8.x
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] xiongchengqq removed a comment on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
xiongchengqq removed a comment on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982247333


   spring:
     shardingsphere:
       dataSources:
         fudabd-common-plat-db:
           type: com.zaxxer.hikari.HikariDataSource
           driverClassName: com.mysql.cj.jdbc.Driver
           url: jdbc:mysql://localhost:13306/fudabd_common_plat_db?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&autoReconnect=true&failOverReadOnly=false&skip-host-cache=true
           username: root
           password: 123456


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] xiongchengqq commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
xiongchengqq commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982247717


   My configuration
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] zjcnb commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982244862


   > 是的,我的服务器是8.x的
   
   translate english please.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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



[GitHub] [shardingsphere] xiongchengqq commented on issue #13855: mapping values are not allowed here

Posted by GitBox <gi...@apache.org>.
xiongchengqq commented on issue #13855:
URL: https://github.com/apache/shardingsphere/issues/13855#issuecomment-982244032


   是的,我的服务器是8.x的
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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