-1

最近、Windows 7 用の MySQL Server 5.6 Community Edition をダウンロードしてインストールしました。次のすべてがインストールされていることを確認しました。

MySQL Workbench 6.0 CE MySQL Connector 6.7.4 MySQL Connector Python MySQL Connector Installer MySQL Notifier 1.1.4 MySQL Server 5.6 MySQL Utilties

初めて MySQL Server を実行するために、次の手順を使用しました。

http://dev.mysql.com/doc/refman/5.6/en/windows-server-first-start.html

そしてコマンド:

"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld"

起動できず、次のエラーが表示されました。* 訂正しました。詳細は以下を参照してください *

2013-09-12 22:14:47 10768 [Note] Plugin 'FEDERATED' is disabled.
2013-09-12 22:14:47 10768 [Warning] option 'innodb-autoextend-increment': unsigned value 67108864 adjusted to 1000
2013-09-12 22:14:47 3a14 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2013-09-12 22:14:48 10768 [Note] InnoDB: The InnoDB memory heap is disabled
2013-09-12 22:14:48 10768 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-09-12 22:14:48 10768 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-09-12 22:14:48 10768 [Note] InnoDB: Not using CPU crc32 instructions
2013-09-12 22:14:48 10768 [Note] InnoDB: Initializing buffer pool, size = 45.0M
2013-09-12 22:14:48 10768 [Note] InnoDB: Completed initialization of buffer pool
2013-09-12 22:14:49 10768 [Note] InnoDB: Highest supported file format is Barracuda.
2013-09-12 22:14:50 10768 [Note] InnoDB: 128 rollback segment(s) are active.
2013-09-12 22:14:50 10768 [Note] InnoDB: Waiting for purge to start
2013-09-12 22:14:50 10768 [Note] InnoDB: 5.6.13 started; log sequence number 8525811
2013-09-12 22:14:50 10768 [Note] Server hostname (bind-address): '*'; port: 3306
2013-09-12 22:14:50 10768 [Note] IPv6 is available.
2013-09-12 22:14:50 10768 [Note]   - '::' resolves to '::';
2013-09-12 22:14:50 10768 [Note] Server socket created on IP: '::'.
2013-09-12 22:14:52 10768 [Note] Event Scheduler: Loaded 0 events
2013-09-12 22:14:52 10768 [Note] C:/Program Files/MySQL/MySQL Server 5.6/bin\mysqld: ready for connections.
Version: '5.6.13'  socket: ''  port: 3306  MySQL Community Server (GPL)

※コマンドプロンプトから※

C:\>"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld"
2013-09-12 23:39:36 0 [Warning] TIMESTAMP with implicit DEFAULT value is depreca
ted. Please use --explicit_defaults_for_timestamp server option (see documentati
on for more details).
2013-09-12 23:39:36 14452 [Warning] Can't create test file C:\Program Files\MySQ
L\MySQL Server 5.6\data\Stinker.lower-test
2013-09-12 23:39:36 14452 [Warning] Can't create test file C:\Program Files\MySQ
L\MySQL Server 5.6\data\Stinker.lower-test
2013-09-12 23:39:36 14452 [Note] Plugin 'FEDERATED' is disabled.
2013-09-12 23:39:36 14452 [Note] InnoDB: The InnoDB memory heap is disabled
2013-09-12 23:39:36 14452 [Note] InnoDB: Mutexes and rw_locks use Windows interl
ocked functions
2013-09-12 23:39:36 14452 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-09-12 23:39:36 14452 [Note] InnoDB: Not using CPU crc32 instructions
2013-09-12 23:39:36 14452 [Note] InnoDB: Initializing buffer pool, size = 128.0M

2013-09-12 23:39:36 14452 [Note] InnoDB: Completed initialization of buffer pool

2013-09-12 23:39:36 14452 [ERROR] InnoDB: .\ibdata1 can't be opened in read-writ
e mode
2013-09-12 23:39:36 14452 [ERROR] InnoDB: The system tablespace must be writable
!
2013-09-12 23:39:36 14452 [ERROR] Plugin 'InnoDB' init function returned error.
2013-09-12 23:39:36 14452 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGI
NE failed.
2013-09-12 23:39:36 14452 [ERROR] Unknown/unsupported storage engine: InnoDB
2013-09-12 23:39:36 14452 [ERROR] Aborting

2013-09-12 23:39:36 14452 [Note] Binlog end
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'partition'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWOR
D'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_METRICS'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'

2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESE
T'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_CMPMEM'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_CMP'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_LOCKS'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'INNODB_TRX'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'BLACKHOLE'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'ARCHIVE'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'MRG_MYISAM'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'MyISAM'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'MEMORY'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'CSV'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'sha256_password'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'mysql_old_password'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'mysql_native_password'
2013-09-12 23:39:36 14452 [Note] Shutting down plugin 'binlog'
2013-09-12 23:39:36 14452 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld: Shutdown complete

これが何を意味するのか、どこを修正すればよいのかわかりません。これを送信する前に、画面の右側にある同様の質問を確認しましたが、どれもこれに対処していません. 私に似た最も近い質問はこれです:

しかし、それは役に立ちません。

考え?

4

1 に答える 1

0

私の部分からの推測:

Can't create test file C:\Program Files\MySQL\MySQL Server 5.6\data\Stinker.lower-test

Windows7 では、UAC プロンプト (UAC がアクティブな場合) に応答した後、管理者権限を持つユーザーのみが program-files フォルダーに書き込むことができます。したがって、データフォルダーがそのフォルダーにあるため、mysqld は管理者権限で実行する必要があり、プロセスは何らかの方法で昇格する必要があります。

datadir =....ini ファイルの(およびおそらくinnodb_data_home_dirand ) ステートメントを変更してデータの場所を変更するinnodb_log_group_home_dirか、MySql を他のフォルダーにインストールするか (最初のテストの方が簡単かもしれません)、UAC をオフにすることができます。

編集:状況をよりよく説明するためにUACを追加しました

于 2013-09-13T07:01:20.110 に答える