简体   繁体   English

Mysql在安装过程中不会启动服务器

[英]Mysql won't start server during installation

I am trying to install mysql5.54 on windows 10 (1909) on a computer.我正在尝试在计算机上的 Windows 10 (1909) 上安装 mysql5.54。 Using Mysql latest installer.使用 Mysql 最新安装程序。 Using port 3308使用端口 3308

I have two issues:我有两个问题:

1: I have to uncheck "Server data file" to complete install. 1:我必须取消选中“服务器数据文件”才能完成安装。 (If I leave it checked, it always tells me it failed during installation) (如果我选中它,它总是告诉我它在安装过程中失败了)

  1. During "Apply configuration", it stops in "Starting the server" for ever.在“应用配置”期间,它永远停留在“启动服务器”中。

Can someone tell me how to trace the problem?有人可以告诉我如何追踪问题吗? I've installed this for many times, never had this problem previously.我已经安装了很多次,以前从未出现过这个问题。

I have mysql 5.7 installed on another port 3306, I don't think this will be the case.我在另一个端口 3306 上安装了 mysql 5.7,我认为不会出现这种情况。

I tried to run mysql.exe cmd line, it said:我试图运行 mysql.exe cmd 行,它说:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

why it is denied my root user?为什么它被拒绝我的根用户?

Thanks,谢谢,

you should consider using docker or a vm, running two sql server on one computer can cause trouble obviously.您应该考虑使用docker或vm,在一台计算机上运行两个sql server显然会引起麻烦。

But i think you should choose only a different path for your second server https://dev.mysql.com/doc/mysql-installer/en/mysql-installer-change-path-proc.html但我认为您应该为第二台服务器选择不同的路径https://dev.mysql.com/doc/mysql-installer/en/mysql-installer-change-path-proc.html

So mysql can use it to store its cnf/ini filr an use a different data folder因此 mysql 可以使用它来存储其 cnf/ini filr 并使用不同的数据文件夹

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM