当前位置:网站首页>Apache 启动不成功,MySQL登录权限问题,排查方法
Apache 启动不成功,MySQL登录权限问题,排查方法
2022-04-21 20:06:00 【weixin_43224306】
1:Apache 启动不成功?
最有效,最直接的办法就是直接使用cmd命令进行查错误。
1、进入到apache的盘符,在这里我的是D盘。
2、然后进入bin文件【cd phpstudy\PHPTutorial\Apache\bin】。
3、进入【httpd.exe】,一下就知道错误在哪儿了进行修改即可。
2:mysql用户权限问题处理?
1.我的mysql 的my.ini目录为D:\phpStudy2019\PHPTutorial\MySQL.my.ini
2.在[mysqld]后添加skip-grant-tables(使用 set password for设置密码无效,且此后登录无需键入密码)
3.skip-grant-tables #在my.ini,[mysqld]下添加一行,使其登录时跳过权限检查
4.重启MySQL服务器。
注意:修改密码输入:update mysql.user set authentication_string = password(“新设置的密码”) where user=“root”;(我这里mysql的版本是5.7,其中密码列的属性叫做authentication_string;5.1的是password);
update mysql.user set authentication_string = password("123456") where user="root";
版权声明
本文为[weixin_43224306]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_43224306/article/details/107836542
边栏推荐
- Im instant messaging development technology: 1-10 million high concurrency architecture evolution
- PyCharm failed to create JVM
- Enterprise cross-border e-commerce platform service solution, cross-border e-commerce trade business framework construction, operation and maintenance
- MySQL 2003 can't connect to MySQL server on 'localhost' (10038)
- Install mysql, MSSQL, Oracle, mongdb and redis collections in docker
- First acquaintance with EEMBC coremark
- 如何让网卡后门搞死一个系统,让你知道网卡是个多么厉害的角色
- MySQL error 2005
- esayCode模板
- Digital business cloud community property platform system solution - easy property management and leveraging potential business opportunities
猜你喜欢

URL to download network resources

Dolphin DB vscode plug-in tutorial

Create thread pool manually
![[timing] lstnet: a time series prediction model combining CNN, RNN and ar](/img/b7/5b4fb5fc36f72aabfb04eafb941b57.png)
[timing] lstnet: a time series prediction model combining CNN, RNN and ar

艾尔登法环“无法加载保存数据”解决方法

Why does SVPWM module have sector judgment error?

Meaning of stripe in image
![[2021] number of effective sequences programmed by Tencent autumn recruitment technology post](/img/c2/1246796e2e1e228426788230d0e8ec.png)
[2021] number of effective sequences programmed by Tencent autumn recruitment technology post

Solution to flash back after MySQL enters password

Xinguan is merciless, human beings have feelings, Xinlong agriculture ensures people's livelihood and jointly fights the epidemic -- condolences to the front line of fighting the epidemic, love the el
随机推荐
浅谈多核CPU、多线程与并行计算
The timer class of version C is accurate to microseconds and retains one decimal place after seconds. It supports the output of year, month, day, hour, minute and second with units
Jerry's unshielded interrupt [chapter]
One click installation of ROS and rosdep (no wall)
【 summer internship 】
JS monitor mobile phone screen rotation (horizontal screen or vertical screen)
如何判斷Int型值的第nbit比特是否是1還是0
JUC queue interface and its implementation class
Collection of knowledge points
Digital business cloud community property platform system solution - easy property management and leveraging potential business opportunities
Is it safe for Bohai futures to open an account? What is the opening method of Bohai futures company?
[original] popular saying is the story behind the so-called "dynamic pixels" and "static pixels" of digital cameras
Jerry's system core voltage [chapter]
The difference and relationship between glew, glee and GL Glu glut GLX glext
Solution to flash back after MySQL enters password
ROS knowledge: how to realize camera access
redis
The difference between PE P / E ratios
Niuke bm40 Rebuild binary tree
Lenovo announced the new progress of ESG: it promised that 100% of all computer products would contain recycled plastics by 2025