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 MySQL91 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 MySQL91 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 the required filesystem permissions to the 'NT AUTHORITYNetworkService' account.
Granted permissions to the data directory.
Granted permissions to the install directory.
Adding new service
New service added
Ended configuration step: Adjusting Windows service
Beginning configuration step: Initializing database (may take a long time)
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 9.1.0...
Starting process with command: C:Program FilesMySQLMySQL Server 9.1binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 9.1my.ini" --console --initialize-insecure=on --lower-case-table-names=1...
Process for mysqld, with ID 7608, was run successfully and exited with code -1073741819.
Failed to start process for MySQL Server 9.1.0.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)
Beta 版: 使用 Unicode UTF-8 提供全球语言支持(U)
ProgramData
和Program Files
两个位置的文件,文末有关于MySQL服务
的删除方式。Windows + R
快捷键打开「运行」对话框,执行regedit
打开注册表编辑器。导航到以下路径HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
,找到MySQL91
删除即可。方法来自系统极客:4 种简单方法,帮你轻松删除 Windows 服务,我前两种方式没有尝试成功,第四种方式我没有尝试,因为不如第三种方式优雅。配置初始化文件mysql.ini
和新建data文件夹
也是可以使用的。参与评论
手机查看
返回顶部