funbinod Posted June 23, 2015 Share Posted June 23, 2015 I want to know how can I set timezone for MySQL from phpmyadmin? I tried set time_zone = 'Asia/Kathmandu'; and it said unknown timezone. I checked the supported timezone list, and it contains my timezone. then I tried set time_zone = '+5:45'; and it succeeded. but when a row is updated, the timestamp column is not storing the correct time according to my timezone. please guide what is the problem??? thankz in advance.... Link to comment Share on other sites More sharing options...
justsomeguy Posted June 23, 2015 Share Posted June 23, 2015 If you're just using set then you're setting the time zone only for that connection, not the global time zone.https://dev.mysql.com/doc/refman/5.5/en/time-zone-support.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now