无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
AI导航网AI应用网站大全 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] mysql升级到5.5报错了

本帖最后由 qq682907 于 2013-2-28 23:37 编辑

wget http://down.wdlinux.cn/in/mysql_up55.sh
sh mysql_up55.sh我是按着这个升级的 是面板安装好后
升级的
QQ截图20130228232600.jpg
详细的错误日志
130228 23:33:43 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130228 23:33:43 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
130228 23:33:43 [Note] Server socket created on IP: '0.0.0.0'.
130228 23:33:43 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
130228 23:33:43 mysqld_safe mysqld from pid file /www/wdlinux/mysql-5.5.27/data/MyVPS1970.pid ended

升级后没有var这个文件夹啊!!!

TOP

把这行去掉
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

/www/wdlinux/mysql/bin/mysqld: unknown variable 'default-character-set=utf8'  默认配置了efault-character-set=utf8就不能启动了

TOP

回复 18# liumingzhij26


131102 16:21:24 mysqld_safe Starting mysqld daemon with databases from /www/wdlinux/mysql/var
131102 16:21:24 InnoDB: The InnoDB memory heap is disabled
131102 16:21:24 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
131102 16:21:24 InnoDB: Compressed tables use zlib 1.2.3
131102 16:21:24 InnoDB: Initializing buffer pool, size = 128.0M
131102 16:21:24 InnoDB: Completed initialization of buffer pool
131102 16:21:24 InnoDB: highest supported file format is Barracuda.
131102 16:21:24  InnoDB: Waiting for the background threads to start
131102 16:21:25 InnoDB: 1.1.8 started; log sequence number 1589339
131102 16:21:25 [ERROR] /www/wdlinux/mysql/bin/mysqld: unknown variable 'default-character-set=utf8'
131102 16:21:25 [ERROR] Aborting


131102 16:21:25  InnoDB: Starting shutdown...
131102 16:21:26  InnoDB: Shutdown completed; log sequence number 1589339
131102 16:21:26 [Note] /www/wdlinux/mysql/bin/mysqld: Shutdown complete


131102 16:21:26 mysqld_safe mysqld from pid file /www/wdlinux/mysql/var/Centos214.pid ended

TOP

Starting MySQL.... ERROR! The server quit without updating PID file (/www/wdlinux/mysql/var/Centos214.pid).

basedir=/www/wdlinux/mysql
    datadir=/www/wdlinux/mysql/var
我都修改了这个,为什么还启动不了,已经重启过了

TOP

修改的是init.d目录下mysqld这个文件,写少了,楼上正解

TOP

哈哈

TOP

本帖最后由 qq514408389 于 2013-4-3 11:59 编辑

回复 14# qq682907


    可以修改下/www/wdlinux/init.d/mysqld这个文件
    里面这两行basedir=
                  datadir=
    修改如下
    basedir=/www/wdlinux/mysql
    datadir=/www/wdlinux/mysql/var
    然后再重新试试

TOP

回复 13# zd305


   没升级成功

TOP

错误日志如下,请教如何解决?
130402 20:03:37 mysqld_safe Starting mysqld daemon with databases from /www/wdlinux/mysql-5.5.27/data
/www/wdlinux/mysql-5.5.27/bin/mysqld: Table 'mysql.plugin' doesn't exist
130402 20:03:37 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
130402 20:03:38 InnoDB: The InnoDB memory heap is disabled
130402 20:03:38 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130402 20:03:38 InnoDB: Compressed tables use zlib 1.2.3
130402 20:03:38 InnoDB: Initializing buffer pool, size = 128.0M
130402 20:03:38 InnoDB: Completed initialization of buffer pool
130402 20:03:38  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
130402 20:03:38 mysqld_safe mysqld from pid file /www/wdlinux/mysql-5.5.27/data/li260-147.pid ended
难得糊涂

TOP

检查mysql是否启动,或不能启动的原因,看下日志
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

求解决办法?
难得糊涂

TOP

这个怎么解决 我也一样的

TOP

回复 8# admin


   已经发了 外出了3小时 刚刚回来

TOP

返回列表