最近通过mysql工作台更改了我的MySQL根密码,并重新启动了mysql服务。mysql现在在启动时崩溃。我根本无法启动该服务,也不确定要参考哪些日志文件。下面是我在data目录下的.err文件中得到的错误。请提供调试和解决问题的说明。
*140211 15:47:52 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use Windows interlocked functions
InnoDB: Compressed tables use zlib 1.2.3
140211 15:47:52 InnoDB: Initializing buffer pool, size = 16.0M
140211 15:47:52 InnoDB: Completed initialization of buffer pool
140211 15:47:52 InnoDB: highest supported file format is Barracuda.
InnoDB: Error: trying to access page number 4294965503 in space 0,
InnoDB: space name D:\Apps\OrangeHRMS2.7\mysql\data\ibdata1,
InnoDB: which is outside the tablespace bounds.
InnoDB: Byte offset 0, len 16384, i/o type 10.
InnoDB: If you get this error at mysqld startup, please check that
InnoDB: your my.cnf matches the ibdata files that you have in the
InnoDB: MySQL server.
140211 15:47:52 InnoDB: Assertion failure in thread 1076 in file ..\..\..\mysql-5.5.8\storage\innobase\fil\fil0fil.c line 4374
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http: //bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http: //dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: about forcing recovery.
140211 15:47:52 - mysqld got exception 0xc0000005 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 133447 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
005E4EB4 mysqld.exe!?check_next_symbol@Gis_read_stream@@QAE_ND@Z()
The manual page at http: //dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.*发布于 2014-02-12 06:32:21
你可以把这个放到盘子里。
1.-停止服务。
在linux服务中mysqld stop - in Windows net stop MySQL
2.-使用“停止授权表”启动您的服务
mysqld --跳过授权表
3.-更新root用户的密码
根用户设置Password=PASSWORD('my_password') where user =‘$mysql>UPDATE’;
(如果你愿意,你可以创建你的用户)根用户‘$mysql>CREATE’@‘localhost’,由‘$mysql>CREATE’标识;
4.-刷新特权
$mysql>刷新权限;
5.-重启服务器
服务mysqld启动
https://stackoverflow.com/questions/21699650
复制相似问题