mysql一次安装问题

来源:互联网 发布:淘宝开企业店铺要纳税 编辑:程序博客网 时间:2024/05/29 21:35

原先虚拟机上安装mysql-5.1.40版本,现在想换成mysql-5.6,结果初始化失败,细看过程有:

[Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.。。。

[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).。。。

这样的两行表明,在安装时系统认定是在升级操作,以防万一事先要进行的操作:

  • 删除之前在/tmp和/var/lib下有关mysql.sock文件
  • 清除/etc/my.cnf,即删除配置文件
  • 停止运行的mysqld进程
  • 删除原先的mysql目录
再次重新初始化,两个部分都是OK的


0 0
原创粉丝点击