2014-02-11 35 views
1

最近通過MySQL Workbench更改了我的mysql root密碼並重新啓動了mysql服務。 mysql在啓動時崩潰了。我根本無法啓動服務,也不確定要提交哪些日誌文件。以下是錯誤,我在數據目錄下得到.err文件。請提供指導來調試和解決問題。更改root密碼後mysql啓動時崩潰

*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 [email protected][email protected]@[email protected]() 
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.* 

回答

0

您可以托盤。

1.-停止您的服務。

在linux服務mysqld的一站式

- 在Windows淨停止MySQL的

2:請用 「停止授權表」

mysqld的--skip-贈款表指示啓動服務

3.-更新用戶root的密碼

$ mysql> UPDATE user SET Password = PASSWORD('my_password')where USER ='root'; $ mysql> CREATE USER'root'@'localhost'IDENTIFIED BY'password';如果你想創建你自己的用戶,

4.-沖洗的privilages

$的MySQL> FLUSH特權;

5.-重新啓動服務器

服務mysqld的啓動