我试图找回this link中给出的丢失密码。但是我继续收到以下错误。
C:\Program Files\MySQL\MySQL Server 5.6\bin>mysqladmin --defaults-file="C:\\Prog
ram Files\\MySQL\\MySQL Server 5.6\\my-default.ini" --init-file=C:\mysql-init.t
xt --console
mysqladmin: unknown variable 'init-file=C:\\mysql-init.txt'
我尝试使用mysqladmin.exe
和mysqld.exe
,因为示例中给出的我没有mysqld-nt.exe
。
文件my-default.ini存在。
更新
以下我在使用MySQLD命令后得到了
C:\Program Files\MySQL\MySQL Server 5.6\bin>mysqld --defaults-file="C:\\Program
Files\\MySQL\\MySQL Server 5.6\\my-default.ini" --init-file=C:\mysql-init.txt --
console
我得到以下输出
给定,
2014-08-20 16:08:06 0 [Warning] TIMESTAMP with implicit DEFAULT value is depreca
ted. Please use --explicit_defaults_for_timestamp server option (see documentati
on for more details).
2014-08-20 16:08:06 8488 [Note] Plugin 'FEDERATED' is disabled.
2014-08-20 16:08:06 8488 [Note] InnoDB: Using atomics to ref count buffer pool p
ages
2014-08-20 16:08:06 8488 [Note] InnoDB: The InnoDB memory heap is disabled
2014-08-20 16:08:06 8488 [Note] InnoDB: Mutexes and rw_locks use Windows interlo
cked functions
2014-08-20 16:08:06 8488 [Note] InnoDB: Memory barrier is not used
2014-08-20 16:08:06 8488 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-08-20 16:08:06 8488 [Note] InnoDB: Not using CPU crc32 instructions
2014-08-20 16:08:06 8488 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-08-20 16:08:06 8488 [Note] InnoDB: Completed initialization of buffer pool
2014-08-20 16:08:06 8488 [ERROR] InnoDB: .\ibdata1 can't be opened in read-write
mode
2014-08-20 16:08:06 8488 [ERROR] InnoDB: The system tablespace must be writable!
2014-08-20 16:08:06 8488 [ERROR] Plugin 'InnoDB' init function returned error.
2014-08-20 16:08:06 8488 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGIN
E failed.
2014-08-20 16:08:06 8488 [ERROR] Unknown/unsupported storage engine: InnoDB
2014-08-20 16:08:06 8488 [ERROR] Aborting
2014-08-20 16:08:06 8488 [Note] Binlog end
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'partition'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD
'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_METRICS'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET
'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_CMPMEM'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_CMP'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_LOCKS'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'INNODB_TRX'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'BLACKHOLE'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'ARCHIVE'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'MRG_MYISAM'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'MyISAM'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'MEMORY'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'CSV'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'sha256_password'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'mysql_old_password'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'mysql_native_password'
2014-08-20 16:08:06 8488 [Note] Shutting down plugin 'binlog'
2014-08-20 16:08:06 8488 [Note] mysqld: Shutdown complete
在此之后我启动mysql服务,我得到错误。
Windows无法在本地计算机上启动MySQL55服务。
错误1067:进程意外终止。