您的位置:首页 > 数据库 > MySQL

Mysql 启动 windows

2016-05-09 23:00 603 查看
问题:当下载zip版本mysql 5.7.12,启动mysqld会报错,解决办法使用mysqld –initialize-insecure 去生成初始数据库相关信息。

E:\Software\Mysql\mysql-5.7.12-winx64\mysql-5.7.12-winx64\bin>mysqld –initialize-insecure

E:\Software\Mysql\mysql-5.7.12-winx64\mysql-5.7.12-winx64\bin>mysqld.exe –console

2016-05-09T14:56:14.128719Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use –explicit_defaults_for_timestamp server option (see documentation for more

details).

2016-05-09T14:56:14.128719Z 0 [Warning] Insecure configuration for –secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid,

non-empty path.

2016-05-09T14:56:14.129719Z 0 [Note] mysqld.exe (mysqld 5.7.12) starting as process 15276 …

2016-05-09T14:56:14.138719Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions

2016-05-09T14:56:14.141720Z 0 [Note] InnoDB: Uses event mutexes

2016-05-09T14:56:14.141720Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier

2016-05-09T14:56:14.141720Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3

2016-05-09T14:56:14.142720Z 0 [Note] InnoDB: Number of pools: 1

2016-05-09T14:56:14.142720Z 0 [Note] InnoDB: Not using CPU crc32 instructions

2016-05-09T14:56:14.187722Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M

2016-05-09T14:56:14.196723Z 0 [Note] InnoDB: Completed initialization of buffer pool

2016-05-09T14:56:14.355732Z 0 [Note] InnoDB: Highest supported file format is Barracuda.

2016-05-09T14:56:15.317787Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables

2016-05-09T14:56:15.318787Z 0 [Note] InnoDB: Setting file ‘.\ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …

2016-05-09T14:56:15.571801Z 0 [Note] InnoDB: File ‘.\ibtmp1’ size is now 12 MB.

2016-05-09T14:56:15.580802Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.

2016-05-09T14:56:15.582802Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.

2016-05-09T14:56:15.584802Z 0 [Note] InnoDB: Waiting for purge to start

2016-05-09T14:56:15.652806Z 0 [Note] InnoDB: 5.7.12 started; log sequence number 2522954

2016-05-09T14:56:15.700809Z 0 [Note] InnoDB: Loading buffer pool(s) from E:\Software\Mysql\mysql-5.7.12-winx64\mysql-5.7.12-winx64\data\ib_buffer_pool

2016-05-09T14:56:15.703809Z 0 [Note] Plugin ‘FEDERATED’ is disabled.

2016-05-09T14:56:15.823816Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key

2016-05-09T14:56:15.825816Z 0 [Note] Server hostname (bind-address): ‘*’; port: 3306

2016-05-09T14:56:15.828816Z 0 [Note] IPv6 is available.

2016-05-09T14:56:15.828816Z 0 [Note] - ‘::’ resolves to ‘::’;

2016-05-09T14:56:15.829816Z 0 [Note] Server socket created on IP: ‘::’.

2016-05-09T14:56:15.962824Z 0 [Note] InnoDB: Buffer pool(s) load completed at 160509 22:56:15

2016-05-09T14:56:16.022827Z 0 [Note] Event Scheduler: Loaded 0 events

2016-05-09T14:56:16.023827Z 0 [Note] mysqld.exe: ready for connections.

Version: ‘5.7.12’ socket: ” port: 3306 MySQL Community Server (GPL)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  mysql 数据库 windows