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/03/01 08:32:23 UTC

[GitHub] [shardingsphere] zealinux opened a new issue #9544: sharding-proxy timestamp format error by using NOW() function

zealinux opened a new issue #9544:
URL: https://github.com/apache/shardingsphere/issues/9544


   ## Bug Report
   
   `SELECT NOW();` then return `2021-03-01T16:26:53`
   
   but in ORIGINAL mysql return `2021-03-01 16:24:04`
   
   so. In application always execption:
   
   ```
   Caused by: com.mysql.cj.exceptions.DataReadException: Invalid format for type 2020-12-08T09:50:01. Value 'TIMESTAMP'
   ```
   
   
   ## Version
   
   sharding-proxy docker 5.0-alpha
   


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



[GitHub] [shardingsphere] beichengjjh removed a comment on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   **I tried it in Navicat and the results are as follows**
   ![image](https://user-images.githubusercontent.com/50292345/112616094-4758bd00-8e5e-11eb-9b90-ad2527b2e771.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.

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



[GitHub] [shardingsphere] tuohai666 commented on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   Please double check the version I mentioned:
   
   ![image](https://user-images.githubusercontent.com/24643893/112777508-038bd080-9075-11eb-8833-dbf95093074f.png)
   ![image](https://user-images.githubusercontent.com/24643893/112777520-0c7ca200-9075-11eb-94ed-b4f7cf679ae8.png)
   ![image](https://user-images.githubusercontent.com/24643893/112777530-143c4680-9075-11eb-8774-72045bed0426.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.

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



[GitHub] [shardingsphere] tuohai666 commented on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   @beichengjjh Please clone the head codes on master branch and compile.


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



[GitHub] [shardingsphere] metayx removed a comment on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   @
   
   > I tried it in Navicat and the results are as follows @tuohai666
   > ![image](https://user-images.githubusercontent.com/50292345/112616820-247ad880-8e5f-11eb-87c3-f3e71c3094a7.png)
   > 
   > and I download the new version from shardingSphere :
   > ![image](https://user-images.githubusercontent.com/50292345/112616746-0e6d1800-8e5f-11eb-9c21-f6c9445ff3c5.png)
   
   Same question, please, did you solve it? 


-- 
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] metayx commented on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   @beichengjjh Same question, please, did you solve it?


-- 
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] ccMoriarty edited a comment on issue #9544: sharding-proxy timestamp format error by using NOW() function

Posted by GitBox <gi...@apache.org>.
ccMoriarty edited a comment on issue #9544:
URL: https://github.com/apache/shardingsphere/issues/9544#issuecomment-896017628


   ![image](https://user-images.githubusercontent.com/35559210/128873148-e22e7a3e-4409-4c0e-8de8-a935059f80bd.png)
   same question ,i can't get values by jdbc getString()  version 5.0.0-beta
   ![image](https://user-images.githubusercontent.com/35559210/128873236-a2ba146e-e4d1-49b3-9e5e-9ba7fb2b42cf.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] ccMoriarty edited a comment on issue #9544: sharding-proxy timestamp format error by using NOW() function

Posted by GitBox <gi...@apache.org>.
ccMoriarty edited a comment on issue #9544:
URL: https://github.com/apache/shardingsphere/issues/9544#issuecomment-896017628


   ![image](https://user-images.githubusercontent.com/35559210/128873148-e22e7a3e-4409-4c0e-8de8-a935059f80bd.png)
   same question ,i can't get values by jdbc getString()
   ![image](https://user-images.githubusercontent.com/35559210/128873236-a2ba146e-e4d1-49b3-9e5e-9ba7fb2b42cf.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] beichengjjh commented on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   I tried it in Navicat and the results are as follows @tuohai666 
   ![image](https://user-images.githubusercontent.com/50292345/112616820-247ad880-8e5f-11eb-87c3-f3e71c3094a7.png)
   
   and  I download the new version from shardingSphere :
   ![image](https://user-images.githubusercontent.com/50292345/112616746-0e6d1800-8e5f-11eb-9c21-f6c9445ff3c5.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.

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



[GitHub] [shardingsphere] sandynz closed issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   


-- 
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] beichengjjh commented on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   **I tried it in Navicat and the results are as follows**
   ![image](https://user-images.githubusercontent.com/50292345/112616094-4758bd00-8e5e-11eb-9b90-ad2527b2e771.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.

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



[GitHub] [shardingsphere] tuohai666 commented on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   I have executed this SQL on 5.0.0-RC1-SNAPSHOT version, and it works. Can you try the new version?
   
   ![image](https://user-images.githubusercontent.com/24643893/109481035-3b741800-7ab7-11eb-8a17-8dd25a71f4af.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.

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



[GitHub] [shardingsphere] ccMoriarty commented on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   ![image](https://user-images.githubusercontent.com/35559210/128873148-e22e7a3e-4409-4c0e-8de8-a935059f80bd.png)
   same question ,i can't get values
   ![image](https://user-images.githubusercontent.com/35559210/128873236-a2ba146e-e4d1-49b3-9e5e-9ba7fb2b42cf.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] metayx commented on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   @
   
   > I tried it in Navicat and the results are as follows @tuohai666
   > ![image](https://user-images.githubusercontent.com/50292345/112616820-247ad880-8e5f-11eb-87c3-f3e71c3094a7.png)
   > 
   > and I download the new version from shardingSphere :
   > ![image](https://user-images.githubusercontent.com/50292345/112616746-0e6d1800-8e5f-11eb-9c21-f6c9445ff3c5.png)
   
   Same question, please, did you solve it? 


-- 
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] sandynz commented on issue #9544: sharding-proxy timestamp format error by using NOW() function

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


   Could you try master branch? It works, test result:
   ```
   mysql> select now();
   +---------------------+
   | now()               |
   +---------------------+
   | 2021-10-14 15:54:58 |
   +---------------------+
   ```
   


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