mysql - Windows非管理员环境下启动MySQL

标签 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无法在我的公司环境中绑定(bind)。由于没有管理员权限,无法通过常规方式安装MySQL。另外,我没有任何 my.ini 文件来设置此类内容。

最佳答案

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

关于mysql - Windows非管理员环境下启动MySQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46154635/

相关文章:

windows - Linux 上的键盘和鼠标交互

mysql - 备份mysql中的单个表

mysql - GraphQL Mutation 不允许我将数据添加到具有非空违规错误的 mysql 表

c++ - Create Memory Device Context... 用于位图,而不是设备(不显示)

windows - Delphi 7 可以通过 OLE Variant 传递 Int64 值吗?

linux - 如何将文本/纯文本转换为文本/x.shellscript

php - 在 MySQL 中检索组的第一个值?

mysql - 与前一天相比增加和减少的访客数量 - sql

mysql - 简化自连接 SQL

windows - Git 存储库文件夹未出现在文件资源管理器中