如何启动mysql 出错_mysql出错了,不能启动,该如何解决

mysql出错了,不能启动

mysql不能用啊,一连接,就报错:ERROR   2002   (HY000):   Can 't   connect   to   local   MySQL   server   through   socket   '/tmp/mysql.sock '   (2)

以下是错误日志,看不懂啊,请高手帮忙

917   13:58:10     mysqld   started

InnoDB:   The   first   specified   data   file   ./ibdata1   did   not   exist:

InnoDB:   a   new   database   to   be   created!

070917   13:58:10     InnoDB:   Setting   file   ./ibdata1   size   to   10   MB

InnoDB:   Database   physically   writes   the   file   full:   wait...

070917   13:58:10     InnoDB:   Error:   Write   to   file   ./ibdata1   failed   at   offset   0   0.

InnoDB:   1048576   bytes   should   have   been   written,   only   -1   were   written.

InnoDB:   Operating   system   error   number   28.

InnoDB:   Check   that   your   OS   and   file   system   support   files   of   this   size.

InnoDB:   Check   also   that   the   disk   is   not   full   or   a   disk   quota   exceeded.

InnoDB:   Error   number   28   means   'No   space   left   on   device '.

InnoDB:   Some   operating   system   error   numbers   are   described   at

InnoDB:   http://dev.mysql.com/doc/refman/5.0/en/operating-system-error-codes.html

InnoDB:   Error   in   creating   ./ibdata1:   probably   out   of   disk   space

InnoDB:   Could   not   open   or   create   data   files.

InnoDB:   If   you   tried   to   add   new   data   files,   and   it   failed   here,

InnoDB:   you   should   now   edit   innodb_data_file_path   in   my.cnf   back

InnoDB:   to   what   it   was,   and   remove   the   new   ibdata   files   InnoDB   created

InnoDB:   in   this   failed   attempt.   InnoDB   only   wrote   those   files   full   of

InnoDB:   zeros,   but   did   not   yet   use   them   in   any   way.   But   be   careful:   do   not

InnoDB:   remove   old   data   files   which   contain   your   precious   data!

/usr/local/mysql/libexec/mysqld:   Disk   is   full   writing   './mysql-bin.000003 '   (Errcode:   28).   Waiting   for   someone   to   free   space...   Retry   in   60   secs

------解决方案--------------------

/usr/local/mysql/libexec/mysqld: Disk is full writing './mysql-bin.000003 ' (Errcode: 28). Waiting for someone to free space... Retry in 60 secs

还有这个,显示磁盘配额已经满了。你的空间不足。

------解决方案--------------------

InnoDB: Error number 28 means 'No space left on device '.

磁盘满啦

------解决方案--------------------

1、如果你是ROOT的话,应该是你的磁盘空间不足。

2、如果你是普通用户的话,是不是应该向管理员要点空间?

e7ce419cf2d6ad34d01da2ceb8829eed.png

微信 赏一包辣条吧~

023a57327877fb4402bcc76911ec18ea.png

支付宝 赏一听可乐吧~

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值