>D:\cs_app\mysql\mysql-5.5.40-winx64\bin>mysqld --console
>170415 16:33:05 [Warning] Can't create test file D:\cs_app\mysql\mysql-5.5.40-winx64\data\??.lower-test
>170415 16:33:05 [Warning] Can't create test file D:\cs_app\mysql\mysql-5.5.40-winx64\data\??.lower-test
>170415 16:33:05 [Note] Plugin 'FEDERATED' is disabled.
>170415 16:33:05 InnoDB: The InnoDB memory heap is disabled
>170415 16:33:05 InnoDB: Mutexes and rw_locks use Windows interlocked functions
>170415 16:33:05 InnoDB: Compressed tables use zlib 1.2.3
>170415 16:33:05 InnoDB: Initializing buffer pool, size = 128.0M
>170415 16:33:05 InnoDB: Completed initialization of buffer pool
>170415 16:33:05 InnoDB: highest supported file format is Barracuda.
>170415 16:33:05 InnoDB: Waiting for the background threads to start
>170415 16:33:06 InnoDB: 5.5.40 started; log sequence number 1595675
>170415 16:33:06 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
>170415 16:33:06 [Note] - '0.0.0.0' resolves to '0.0.0.0';
>170415 16:33:06 [Note] Server socket created on IP: '0.0.0.0'.
>170415 16:33:06 [ERROR] mysqld: Can't create/write to file 'D:\cs_app\mysql\mysql-5.5.40-winx64\data\??.pid' (Errcode: 22)
>170415 16:33:06 [ERROR] Can't start server: can't create PID file: Invalid argument
my.ini
[mysqld]
basedir=D:\\cs_app\\mysql\\mysql-5.5.40-winx64
datadir=D:\\cs_app\\mysql\\mysql-5.5.40-winx64\\data
character_set_server=utf8
[client]
character_set_server=utf8
[WinMySQLAdmin]
Server=D:\\cs_app\\mysql\\mysql-5.5.40-winx64\\bin\\mysqld.exe
user=root
当我对net start mysql
进行编码时,它会给我1067
。