Resolve the time difference of MySQL inserting timestamp data by 8 hours 09:47:13, July 17, 2018 WordPress Source: csdn comment 1.6K Reading mode Log in to MySQL as an administrator and execute the following statements: mysql > SET time_zone = '+8:00'; #When this was Beijing, we were in the East 8th District mysql> flush privileges; #Effective immediately If the above operations have not yet taken effect, please go to: [mysqld] of my.cnf/my.ini Add: default-time_zone = '+8:00' Then restart the MySQL service. Most of the articles on this site are original and used for personal learning records, which may be helpful to you, for reference only! WordPress article ID continuous When WordPress uploads themes and plug-ins, it prompts: Warning: An unexpected error has occurred Why is there no comment module on WordPress page Failed to contact the site to check for fatal errors, so the PHP modification has been rolled back. You need to use other methods (such as SFTP) to upload your modified PHP files give the thumbs-up Sign in to Favorites https://zmingcx.com/mysql-timestamp-8-hours.html Copy Link Copy Link My Wechat Copyright Notice Please indicate the source and link of the original article reprinted on this site. Thank you for your cooperation! Get this topic five hundred and ninety-eight million eight hundred and forty-five thousand and six Please add Q: 598845006 Multi functional theme Begin