当前位置:网站首页>【mysql】mysql启动关闭命令以及一些报错解决问题
【mysql】mysql启动关闭命令以及一些报错解决问题
2022-07-26 22:47:00 【不下水的鸭】
mysql启动关闭命令以及一些报错解决问题
1、利用cmd窗口启动mysql出现服务名无效
利用net start mysql启动mysql报错(服务名无效)
此时,打开服务(通过win键+R,输入services.msc命令)找到MySQL对应的服务
我电脑是80,你们查看自己对应的名称,将net start mysql 改成net start 自己的名称。例,我的就是net start mysql80。这样你就会发现正常启动了
2、启动mysql出现发生系统错误 5

原因:
cmd 权限太低了,需要管理员权限即可解决。
解决方案:
1、在开始菜单在Window系统找到命令窗口提示符然后右键——>更多——>以管理员身份运行——>输入net start mysql80 即可成功运行


2、长久解决方案:
步骤:找到命令提示符这个文件(打开文件位置)——> 选中它再右击后选择属性 ——> 在快捷方式选单下点击高级选项 ——> 在弹出的窗口勾选用管理员身份运行 ——> 确定 ——> 应用。
以后只要打开这个快捷方式就可以以管理员的身份运行cmd了!

最后,mysql关闭命令net stop mysql80。在cmd输入命令即可关闭mysql服务
。
边栏推荐
- MVCC及其原理详解
- mysql优化概论
- ACM模式输入输出练习
- 三范式,约束,部分关键字区别,
- [FPGA tutorial case 30] DDS direct digital frequency synthesizer based on FPGA -- frequency accuracy analysis with MATLAB
- Merge sort (recursive and non recursive writing)
- Machine learning exercise 6 - Support Vector Machines
- 22FTP
- Linux deployment MySQL
- a元素的伪类
猜你喜欢

Text to image论文精读GR-GAN:逐步细化文本到图像生成 GRADUAL REFINEMENT TEXT-TO-IMAGE GENERATION

7.16 多益网络笔试

24ssh service

科学计算库 —— Matplotlib

Introduction to network - Introduction to Enterprise Networking & basic knowledge of network

Installation and basic operation of docker

mysql优化概论

count(*)为什么很慢

uuid和索引建立规则

Freytek central computing platform 360 degree sensing system solves the challenges behind NOA mass production
随机推荐
为啥不建议使用Select *
Hash索引和B+树相关知识
Virtualization technology KVM
Run NPM run dev to run 'NPM audit fix' to fix them, or 'NPM audit' for details
Harmonyos image processing application development live broadcast notes
Hands on experiment of network and VPC
超出隐藏显示省略号
[polymorphism] the detailed introduction of polymorphism is simple and easy to understand
6.30滴滴面经(一面+二面)
Codeforce problem 908 D. new year and arbitrary arrangement (probability DP)
MySQL多表查询
Unity Huatuo hot update environment installation and sample project
解决方案:炼丹师养成计划 Pytorch+DeepLearning遇见的各种报错与踩坑避坑记录(一)
7.16 多益网络笔试
(atcoder contest 144) f - fork in the road (probability DP)
ACM模式输入输出练习
利用九天深度学习平台复现SSA-GAN
CEPH (distributed storage)
Enumerated valueof() method stepping on the pit
Complete super detailed introduction to transactions in MySQL