今天安装mysql有报10061,而且service启动了,反而在applying security settings 报错。。真TMD讨厌
解决方法:
http://dev.mysql.com/doc/refman/5.5/en/can-not-connect-to-server.html
总结如下:
1、修改my.ini,在[mysqld]下面添加bind-address=0.0.0.0。解释如下:
By default MySQL (5.5 version on Windows XP) binds to "localhost" (somehow 127.0.0.1 is not same as localhost) and it will accept connections only from localhost.
Since the OS would convert localhost to 127.0.0.1 automatically, other programs are unable to connect.
(MySQL command line client might be functioning differently Because it can connect using localhost as host name.)
If you want MySQL port to listen on all interfaces add this setting to your my.ini file
bind-address=0.0.0.0
2、官方文档说按如下做(修改注册表):
Start Registry Editor (Regedt32.exe).
Locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
On the Edit menu, click Add Value, and then add the following registry value:
Value Name: MaxUserPort
Data Type: REG_DWORD
Value: 65534
This sets the number of ephemeral ports available to any user. The valid range is between 5000 and 65534 (decimal). The default value is 0x1388 (5000 decimal).
On the Edit menu, click Add Value, and then add the following registry value:
Value Name: TcpTimedWaitDelay
Data Type: REG_DWORD
Value: 30
This sets the number of seconds to hold a TCP port connection in TIME_WAIT state before closing. The valid range is between 0 (zero) and 300 (decimal). The default value is 0x78 (120 decimal).
Quit Registry Editor.
Reboot the machine.
3、其他的方法什么将mysql删除干净,比如删除allusers下面的msyql啊,多点几次retry,一点用都没有
分享到:
相关推荐
这是万恶之源网安基地站长开发的万恶之源135抓鸡工具极速版的升级版
万恶的Blogbus教程免费版
斯蒂芬告诉对方告诉对方告诉对方告诉对方的方式告诉对方公司法
万恶的前端内存泄漏及万善的解决方案详解.docx
万恶的斐波那契.exe
万恶的凯撒加密古罗马的凯撒大帝发明了世界上最早的数学加密方法,“恺撒密码”据传是古罗马恺撒大帝用来保护重要军情的加密系统。凯撒加密是最简单的加密方式,加密的双方
万恶的音乐符号超帆为了帮森森获得森森喜欢女孩子的星座,已经三星期没吃饭了,森森哼了一段曲子,并说如果你猜的出来这曲子是什么意思,我就请你吃饭!音符如下:§‖§‖
DonaldKnuth说“过早优化是万恶之源”(prematureoptimizationistherootofallevil)。这话也许有些夸张,但“过早优化”的危害我觉得不能忽视。 让正确的程序更快比让快速的程序正确要容易太多,太多。所以,缺省...
《万恶迷糊尤物》第三技:笑看混战人1000字.docx
全国大学生电子设计竞赛(National Undergraduate Electronics Design Contest),试题,解决方案及源码。计划或参加电赛的同学可以用来学习提升和参考。程序均是实战案例,经过测试可直接运行。...
玩儿玩儿万恶人恶趣味而且维尔萨芬撒大幅撒大幅
发生地方随碟附送地方
SSM框架配置 底层配置万用模板(x)万恶之源(√) 自己手撸的SSM配置pwp方便自己也方便大家 如果有什么错误请联系我BedivereAlter@gmail.com
一款去点软件广告的补丁,希望对大家有用! 也希望大家支持我一下,首次发帖子!后面会有更好的!
一些不经常用的功能,希望有能帮助大家的地方
因为工作中有人喜欢在,前面加空格,还有人喜欢吧tab搞得到处都是,所以写了一个这个文件,用来删除行尾的tab与奇怪的空格
文件中是远程调试用到的文件,调试方法如下: 1. 拷贝《vs2003远程调试文件》文件夹到目标机器任意位置 2. 运行StartMsvcmon.bat批处理 3. 保证需要调试的进程已经启动,同时在执行文件下有相应的pdb文件 ...
代码已经封装为C++类的方式。内存共享分为服务端和客户端,服务端写入数据,客户端读取数据,服务端和客户端通过使用相同的名字,来确认配对。 下载只需要1积分,如果发现多于1积分,请留言我重新上传资源。
linux dns slave服务器无法正常获取master上的信息
javascript中万恶的function实例分析,学习js的朋友可以参考下。