当前位置:网站首页>Windows11 安装MySQL服务 提示:Install/Remove of the Service Denied
Windows11 安装MySQL服务 提示:Install/Remove of the Service Denied
2022-04-23 11:52:00 【在奋斗的大道】
今天在Windows 11 系统中安装MySQL8 数据库时,安装MySQL8 服务提示如下错误信息:
错误原因:
- 安装/删除服务被拒绝!
- 说明权限不够,无法进行操作
解决办法:
- 以管理员身份运行cmd.exe文件
PS C:\Users\zzg> mysqld --install MySQL
Service successfully installed.
PS C:\Users\zzg> net start MySQL
MySQL 服务正在启动 .
MySQL 服务已经启动成功。
PS C:\Users\zzg> mysql -u root -p
Enter password: ************
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.28
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';
Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
版权声明
本文为[在奋斗的大道]所创,转载请带上原文链接,感谢
https://blog.csdn.net/zhouzhiwengang/article/details/124296711
边栏推荐
- Castle. Dynamic proxy implements transaction unit control
- Tensorflow uses keras to create neural networks
- Link sorting of tutorials such as assembly language running environment setting
- 博客文章导航(实时更新)
- Sigmoid function of activation function
- 云呐|如何管理好公司的固定资产,固定资产管理怎么做
- Analyzing the role of social robots in basic science
- Application of remote integrated monitoring system in power distribution room in 10kV prefabricated cabin project
- golang之筆試題&面試題01
- 简易投票系统数据库设计
猜你喜欢
MQ在laravel中简单使用
Maker education for primary and middle school students to learn in happiness
Interpretation of biological recognition in robot programming course
零钱兑换II——【LeetCode】
初探 Lambda Powertools TypeScript
Siri gave the most embarrassing social death moment of the year
Design and practice of the smallest short website system in the whole network
SOFA Weekly | 年度优秀 Committer 、本周 Contributor、本周 QA
Advanced file IO of system programming (13) -- IO multiplexing - Select
PSCP 基本使用
随机推荐
Redis学习之五---高并发分布式锁实战
Force buckle - 70 climb stairs
Tensorflow uses keras to create neural networks
laravel 永远返回 JSON 响应
解决由于找不到amd_ags_x64.dll,无法继续执行代码。重新安装程序可能会解决此问题,地平线(Forza Horizon 5)
创客教育中的统筹方案管理模式
Optimize connections using connection groups (IM 6)
用户接口和IM表达式(IM 5.6)
[Web 每日一练] 八色拼图(float)
oh-my-lotto
Castle.DynamicProxy实现事务单元控制
Redis learning 5 - high concurrency distributed lock practice
Nacos Foundation (9): Nacos configuration management from single architecture to microservices
Purpose of IM expression (IM 5.2)
Laravel增加自定义助手函数
Database design of simple voting system
How to count fixed assets and how to generate an asset count report with one click
Force buckle - 1137 Nth teponacci number
Im architecture: CPU architecture: SIMD vector processing (im-2.3)
ThinkPHP adds image text watermark to generate promotion poster with QR code