图拉丁吧 关注:7,903,673贴子:131,722,342
  • 14回复贴,共1

大佬们救一下555555

只看楼主收藏回复

隔壁吧没人回
大佬们,大二菜鸟求助,我的电脑装不上MySQL,老师发给我的也装不了,在这个步骤卡着,我防火墙是关着的
这是log中的文字
Beginning configuration step: Writing configuration file
Saving my.ini configuration file...
Saved my.ini configuration file.
Ended configuration step: Writing configuration file
Beginning configuration step: Updating Windows Firewall rules
Adding a Windows Firewall rule for MySQL80 on port 3306.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
确定。
Successfully added the Windows Firewall rule.
Adding a Windows Firewall rule for MySQL80 on port 33060.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 33060" protocol=TCP localport=33060 dir=in action=allow
确定。
Successfully added the Windows Firewall rule.
Ended configuration step: Updating Windows Firewall rules
Beginning configuration step: Adjusting Windows service
Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
New service added
Ended configuration step: Adjusting Windows service
Beginning configuration step: Initializing database (may take a long time)
Deleting the data directory from a previous (failed) configuration...
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.19...
Starting process with command: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" --console --initialize-insecure=on --lower-case-table-names=1...
mysqld: File '.\銇傘亰銇嬨亪銇?bin.index' not found (OS errno 2 - No such file or directory)
'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.19) initializing of server in progress as process 9528
The newly created data directory C:\ProgramData\MySQL\MySQL Server 8.0\Data\ by --initialize is unusable. You can remove it.
Aborting
C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.19) MySQL Community Server - GPL.
Process for mysqld, with ID 9528, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.19.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)


IP属地:河南1楼2024-09-11 09:24回复
    这段log文件的意思是MySQL安装过程中在初始化数据库时遇到了错误,说人话就是安装路径有中文导致路径乱码了


    IP属地:广东2楼2024-09-11 09:42
    收起回复
      2025-08-11 00:01:22
      广告
      不感兴趣
      开通SVIP免广告
      楼主检查一下需要安装的文件和安装路径是不是有中文,建议在D盘下新建一个全字母的文件夹把安装包放进去,直接安装到这个文件夹里


      IP属地:广东3楼2024-09-11 09:44
      回复
        所有版本都卸载掉,缓存文件,data文件,服务全都删除掉 ,,mysql8随便装的,, 5.7的才恶心


        IP属地:浙江4楼2024-09-11 09:47
        收起回复
          整个zip包安装,自己配环境变量啥的就没这么多事了


          IP属地:山西5楼2024-09-11 16:43
          回复
            解决了,是我系统名被识别成中文了日文也能识别成中文,我也是服了


            IP属地:河南来自Android客户端6楼2024-09-13 10:04
            回复