第一次安装失败
Windows Server 2012
首先是使用mysql的最新安装包去安装,
但是安装包在执行到 starting mysql server 时,就卡住不动了。
手动去服务中启动 显示无法启动服务 helpmsg 3534 原因不详!
第二次安装
由于客户现场机房管理严格,我们退出机房寻找原因。
[En]
Due to the strict management of the customer’s on-site computer room, we withdrew from the computer room to find the reason.
觉得有可能是这台机器以前装过Mysql所以觉定。彻底删除Mysql相关目录和注册表!
将其完全移除后,重新安装!
[En]
After removing it clean, reinstall it!
还是在执行到 starting mysql serverr 时,卡住。
还是无法手动启动服务!
[En]
Still failed to start the service manually!
第三次安装
怀疑是安装包有问题,重新下载校验!还是在 starting mysql server 时,卡住!
第四次安装
由于之前使用的安装包版本已经失败,所以决定使用免安装版本!
[En]
As the previous use of the installation package version has been failed, decided to use the installation-free version!
结果在 –initialize 初始化的时候一直提示 Line 1 有问题。
查看 my.ini 这个my.ini是我从网上找的一个博主的,无解!
退出机房查找原因 说我编码格式错了 应该使用 ANSI 而不是 utf-8
Line 1的问题就次解决。
结果初始化时还是报错,说一个data文件找不到!
我以为是我的my.ini里面的datadir配置有问题,又重新换了个目录名称
发现并不是指的datadir,应该是本身有个目录找不到了!
又又又退出机房!
第五次安装
这次我在自己的电脑初始化 –initialize 将初始化好的整个mysql文件打包!
重新在服务器上解压执行
mysqld install
net start mysql
终于成功了!
让后更改密码链接服务!
[En]
Change the password link service after letting!
到目前为止这个data文件的问题,我都不知道咋回事
权限问题和vc++的问题基本可以排除!
由于客户机房管理严格,这些都是回到公司后写的!没有屏幕截图。
[En]
Due to the strict management of the customer computer room, these are written after returning to the company! There are no screenshots.
如果有老板要看,已经解决了相关问题!希望留下解答!
[En]
If there is a boss to see, have solved the relevant problems! Hope to leave the solution!
非常感谢QAQ
Original: https://www.cnblogs.com/lixi12138/p/16062728.html
Author: 不存在的马飞飞
Title: MYSQL8.0版本安装失败!
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/505522/
转载文章受原作者版权保护。转载请注明原作者出处!