在Windows上的非管理员环境中启动MySQL

时间:2017-09-11 11:28:11

标签: mysql windows

我正在尝试在公司环境中启动MySQL。我有权运行任何类型的文件,但我没有管理员权限。我在StackOverflow上发现,通过直接运行mysqld可以以非管理员身份运行mysql。但是,当我这样做时,我收到以下错误:

H:\Programs\mysql>bin\mysqld --console --log_syslog=0
2017-09-11T11:10:06.059072Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is
 deprecated. Please use --explicit_defaults_for_timestamp server option (see doc
umentation for more details).
2017-09-11T11:10:06.059072Z 0 [Note] --secure-file-priv is set to NULL. Operatio
ns related to importing and exporting data are disabled
2017-09-11T11:10:06.074672Z 0 [Note] bin\mysqld (mysqld 5.7.19) starting as proc
ess 504 ...
2017-09-11T11:10:06.402278Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows in
terlocked functions
2017-09-11T11:10:06.402278Z 0 [Note] InnoDB: Uses event mutexes
2017-09-11T11:10:06.402278Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are u
sed for memory barrier
2017-09-11T11:10:06.402278Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-09-11T11:10:06.464679Z 0 [Note] InnoDB: Number of pools: 1
2017-09-11T11:10:06.495880Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2017-09-11T11:10:06.542681Z 0 [Note] InnoDB: Initializing buffer pool, total siz
e = 128M, instances = 1, chunk size = 128M
2017-09-11T11:10:06.558281Z 0 [Note] InnoDB: Completed initialization of buffer
pool
2017-09-11T11:10:06.963889Z 0 [Note] InnoDB: Highest supported file format is Ba
rracuda.
2017-09-11T11:10:07.385097Z 0 [Note] InnoDB: Creating shared tablespace for temp
orary tables
2017-09-11T11:10:07.400697Z 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12
MB. Physically writing the file full; Please wait ...
2017-09-11T11:10:07.463099Z 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
2017-09-11T11:10:07.509899Z 0 [Note] InnoDB: 96 redo rollback segment(s) found.
96 redo rollback segment(s) are active.
2017-09-11T11:10:07.509899Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are
 active.
2017-09-11T11:10:07.509899Z 0 [Note] InnoDB: Waiting for purge to start
2017-09-11T11:10:07.572301Z 0 [Note] InnoDB: 5.7.19 started; log sequence number
 1210037
2017-09-11T11:10:07.572301Z 0 [Note] InnoDB: Loading buffer pool(s) from H:\Prog
rams\mysql\data\ib_buffer_pool
2017-09-11T11:10:07.572301Z 0 [Note] Plugin 'FEDERATED' is disabled.
2017-09-11T11:10:07.603501Z 0 [Note] InnoDB: Buffer pool(s) load completed at 17
0911 13:10:07
mysqld: Table 'mysql.plugin' doesn't exist
2017-09-11T11:10:07.603501Z 0 [ERROR] Can't open the mysql.plugin table. Please
run mysql_upgrade to create it.
2017-09-11T11:10:07.665902Z 0 [Warning] Gtid table is not ready to be used. Tabl
e 'mysql.gtid_executed' cannot be opened.
2017-09-11T11:10:07.681503Z 0 [Warning] Failed to set up SSL because of the foll
owing SSL library error: SSL context is not usable without certificate and priva
te key
2017-09-11T11:10:07.681503Z 0 [Note] Server hostname (bind-address): '*'; port:
3306
2017-09-11T11:10:07.697103Z 0 [Note] IPv6 is not available.
2017-09-11T11:10:07.697103Z 0 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
2017-09-11T11:10:07.697103Z 0 [ERROR] Failed to create a socket for IPv4 '0.0.0.
0': errno: 0.
2017-09-11T11:10:07.697103Z 0 [ERROR] Can't create IP socket: No such file or di
rectory
2017-09-11T11:10:07.697103Z 0 [ERROR] Aborting

我认为这与我没有使用admin无关,而是ip无法在我的公司环境中绑定。由于没有管理员权限,我无法通过常规方式安装MySQL。另外,我没有任何my.ini文件来设置这样的东西。

1 个答案:

答案 0 :(得分:0)

与您的应用程序的负责人/管理员进行交谈,以获得成功所需的指导(获得他们的意识/许可)。