unix - Is Mysql now() timestamp pickups from server time -


does mysql have own timestamp or use system timestamp, because see dependency in timings:

  • date command on unix server

  • select now() command on mysql server

these 2 show different times.

in normal, time zone mysql use system time zone. can check: in mysql

show variables '%time_zone%'; 

in linux command:

date 

in situations, server timezone vs mysql timezone different, please restart mysql.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -