只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它

您所在的位置:网站首页 安装mysql55步骤 只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它

2023-12-16 21:31| 来源: 网络整理| 查看: 265

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它 原创

fengyuzaitu 2023-04-24 14:49:37 博主文章分类:数据库 ©著作权

文章标签 MySQL Windows Server 文章分类 MySQL 数据库

©著作权归作者所有:来自51CTO博客作者fengyuzaitu的原创作品,请联系作者获取转载授权,否则将追究法律责任 MySQL版本

mysql-installer-community-5.7.41.0.msi

服务器版本

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_MySQL

启动服务失败

安装配置正常,最后一步启动MySQL服务失败

提示报错信息:

Attempting to start service MySQL57..... Failed to start service MySQL57. 只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它。 Ended configuration step: Starting the server

如下是详细的安装打印信息

ginning 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 MySQL57 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. Ended configuration step: Updating Windows Firewall rules Beginning configuration step: Adjusting Windows service Attempting to grant the required filesystem permissions to the 'NT AUTHORITY\NetworkService' account. Granted permissions to the data directory. 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 5.7.41... Starting process with command: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --console --initialize-insecure=on --lower-case-table-names=1... TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). InnoDB: New log files created, LSN=45790 InnoDB: Creating foreign key constraint system tables. No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: d93c25fe-e24f-11ed-8412-000c29556b74. Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher. A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher. CA certificate ca.pem is self signed. root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. Process for mysqld, with ID 4272, was run successfully and exited with code 0. Successfully started process for MySQL Server 5.7.41. MySQL Server 5.7.41 intialized the database successfully. Ended configuration step: Initializing database (may take a long time) Beginning configuration step: Updating permissions for the data folder and related server files Attempting to update the permissions for the data folder and related server files... Inherited permissions have been converted to explicit permissions. Full control permissions granted to: NETWORK SERVICE. Full control permissions granted to: Administrators. Full control permissions granted to: CREATOR OWNER. Full control permissions granted to: SYSTEM. Access to the data directory is removed for the users group. Permissions for the data folder and related server files are updated correctly. Ended configuration step: Updating permissions for the data folder and related server files Beginning configuration step: Starting the server Attempting to start service MySQL57..... Failed to start service MySQL57. 只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它。 Ended configuration step: Starting the server ............

解决方案一

打开服务,找到服务名称MySQL57,点击属性

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_Server_02

Window10系统是可以按照默认安装正常启动的

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_Server_03

解决方案二

基本思路:增加用户组权限

步骤如下:

计算机->管理->本地用户和组->组 双击:

双击Administrators,点击添加,把 NETWORK SERVICE添加到Administrators组,保存

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_Server_04

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_Windows_05

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_MySQL_06

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_MySQL_07

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_Server_08

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_Windows_09

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_Windows_10

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_MySQL_11

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_MySQL_12

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_MySQL_13

MySQL服务登陆配置

浏览,高级,立即查找,选择NETWORK SERVICE

密码为空,自动补充

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它_Windows_14

打赏 收藏 评论 分享 举报

上一篇:MySQL5.7.41.0 开启SSL加密

下一篇:ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this st



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3