我数据库启动出现错误: [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2019-10-28 13:48:56 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
navicat也连不上
这个怎么解决?

解决方案 »

  1.   

    在mysql/my.ini 文件中的[mysqld]下添加一行explicit_defaults_for_timestamp=true。就可以了 
     这个语句的含义是 #开启查询缓存,这也是web缓存之一,对重复查询只需要在缓存中读取就可以,减少对数据库的访问。你试试吧
      

  2.   

    你的启动只是warning,不是error
    你先看看mysql有没有启动(找对应 服务)