Menu

#1312 (ok 4.4) set time_zone for session

Next_release
fixed
Low
2015-04-20
2011-06-16
No

I need to set (or select) time_zone for session of phpMyAdmin. It's useful becasue the system is on a web-hosting and I can not select time_zone for server, but if I could select it on server page of phpMyAdmin along with MySQL connection collation and Language and then setted value were added to all queries as "SET time_zone = '+4:00';" for example. It would be great, because all timestamps will be in the local time.

Discussion

  • PHPcian

    PHPcian - 2012-12-25

    Has anyone worked on this feature request?

     
  • uzb

    uzb - 2015-01-27

    +1

    This is not only needed for shared hosting, but also on cloud platforms like AWS.

    Amazon AWS does not allow us to set the time zone in the mysql configuration. We have updated our applications to execute the above command to have the correct time zone during the sessions.

    Unfortunately, there is no such option in PMA. This may lead to incorrect values when using statements like NOW(), which is inconsistent with our applications, and may lead to potential bugs. That's why we really need this.

     
  • uzb

    uzb - 2015-02-09

    I created a pull request for this feature:

    https://github.com/phpmyadmin/phpmyadmin/pull/1495

     
  • Marc Delisle

    Marc Delisle - 2015-02-11
    • summary: set time_zone for session --> (ok 4.4) set time_zone for session
    • status: open --> resolved
    • assigned_to: Marc Delisle
    • Group: --> Next_release
    • Priority: 5 --> 1
     
  • Marc Delisle

    Marc Delisle - 2015-02-15
    • Priority: 1 --> Normal
     
  • Marc Delisle

    Marc Delisle - 2015-02-15
    • Priority: Normal --> Low
     
  • Marc Delisle

    Marc Delisle - 2015-04-20
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.