MySQL5.6 on Windows 安装失败: String was not recognized as a valid DateTime

时间:2024-07-11 15:36:38

  在Win7,32位上安装MySQL5.6.21时出现日期/时间格式错误, 如下图所示:

错误描述为: String was not recognized as a valid DateTime.

MySQL5.6 on Windows 安装失败: String was not recognized as a valid DateTime

下面是解决办法:

  参考: http://*.com/questions/26307568/cant-install-mysql-server-5-6

  该安装包识别的日期/时间格式为美国的格式, 所以需要临时修改一下系统的日期/时间格式:

    1.打开控制面板
    2.定位到: Clock, Language, and Region (时钟, 语言 和 区域)
    3.打开:Region and Language->Change the date, time, or number format
        (区域和语言->改变日期/时间和数字格式)
    4.修改格式为: English(United States) (英语(美国)
    5.等待安装完成...
    6.将格式改回原来的格式 (我这里是: Chinese(Simplified, PRC))

  完成!

女孩不哭 @ cnblogs.com/memset @ 2014.10.15