mysql 安装出现乱码 · 物联网平台-威尼斯人最新

lifeontrip · 2020年06月23日 · 最后由 回复于 2022年08月19日 · 456 次阅读

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.20... starting process with command: d:_db\mysql8\bin\mysqld.exe --defaults-file="w:_datas\db\mysql\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. d:_db\mysql8\bin\mysqld.exe (mysqld 8.0.20) initializing of server in progress as process 15132 the newly created data directory w:_datas\db\mysql\data\ by --initialize is unusable. you can remove it. aborting d:_db\mysql8\bin\mysqld.exe: shutdown complete (mysqld 8.0.20) mysql community server - gpl. process for mysqld, with id 15132, was run successfully and exited with code 1. failed to start process for mysql server 8.0.20. database initialization failed. ended configuration step: initializing database (may take a long time)

把注册表、安装文件都清了,每次都会卡在这里。

。。。终于找到原因了,居然是中文乱码。原来 mysql 在安装过程中配置文件中的文件名是从 “计算机名称” 取得。如果计算机名是中文就会出现乱码。

把计算机名改成英文就好了。手贱啊。

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
网站地图