How do I set the time zone of MySQL?

Ononeserver,whenIrun:mysql>selectnow();+---------------------+|now()|+---------------------+|2009-05-3016:54:29|+---------------------+1rowinset(0.

MySQL的my.ini配置文件

[mysqld]#设置3306端口port=3306#设置mysql的安装目录basedir=C:\mysql8#设置mysql数据库的数据的存放目录datadir=E:\mysql-dc\data#mysqlsock存储目录socket=E:\mysql-dc\data\mysql.sock#允许
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×