因此,出于可移植性和测试目的,我设置了一个 SQL 服务器以从闪存驱动器运行,我知道这不是世界上最好的主意,但到目前为止,它运行得很好。每当我尝试启动 SQL 服务器时,我都会得到这个
这是 error_log2.err
mysqld: File ' <dict>' not found (OS errno 2 - No such file or directory)
2019-09-11T13:38:49.003007Z 0 [System] [MY-010116] [Server] D:\mysql\mysql-8.0.17-winx64\bin\mysqld.exe (mysqld 8.0.17) starting as process 10444
2019-09-11T13:38:53.330810Z 0 [ERROR] [MY-010958] [Server] Could not open log file.
2019-09-11T13:38:53.330864Z 0 [ERROR] [MY-010041] [Server] Can't init tc log
2019-09-11T13:38:53.340276Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-09-11T13:38:54.702951Z 0 [System] [MY-010910] [Server] D:\mysql\mysql-8.0.17-winx64\bin\mysqld.exe: Shutdown complete (mysqld 8.0.17) MySQL Community Server - GPL.
问题似乎出在文件上' <dict>'
,但我不确定这到底意味着什么。有什么建议可以修复此错误吗?感谢您的建议
这是我的 config.ini
[mysqld]
sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
basedir = "D:\\mysql\\mysql-8.0.17-winx64"
datadir = "D:\\mysql\\mydb"
port = "55555"
log-error = "D:\\mysql\\logs\\error_log2.err"
[mysqladmin]
user = "root"
port = "55555"