mysql,phpmyadmin 的安装 时遇到的问题[1251 - Client does yAdmin tried to connect
来源:互联网 发布:网络测试仪多少钱 编辑:程序博客网 时间:2024/06/09 20:18
1.安装完phpmyadmin时登陆的时候
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
修改 config.ini.php 修改SOCK的路径
出现这种问题也只有在MYSQL4.1.x以上版本,用4.0.x就没问题了
原因是因为你使用的mysql服务器版本中使用了新的密码验证机制,这需要客户端的版本要在4.0以上,原来的密码函数被改为old_password ();,这样使用password()生成的密码在旧的版本上的客户端就不好使了,而PHP中的MYSQL客户端都是3.23的(当然,mysqli的扩展除外),问题就在这了。
目前已知解决方法:
(1)、进入命令行下,转到MYSQL目录的BIN目录下,进入MYSQL命令行模式:
例:d:/mysql/bin>mysql -uroot -p123 (用户root,密码123)
(2)、输入命令:
(3)、退入MYSQL命令行:
3.还有一个就是在安装mysql时候安装不成功就是在最后面的时候启动start service不过总出现(X)
解决办法:
你之前安装过MYSQL服务了,你在关掉防火墙,,删掉以前安装的残余记录,然后重装,在"INSTALL AS WINDOWS SERVICE "步骤的时候,默认"SERVICE NAME "为(MYSQL),在下拉框中选择另一个
不要用之前用过的名字就可以了
我在安的时候就就是遇到这些问题,希望能给你们一些帮助,也希望你们再有什么问题发表上来一起讨论!
- mysql,phpmyadmin 的安装 时遇到的问题[1251 - Client does yAdmin tried to connect
- hadoop遇到的问题: org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决
- phpMyAdmin使用时遇到的问题
- PHPMYADMIN: #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
- 解决ECshop遇到can't connect to mysql 的“bug”级问题
- phpmyadmin中遇到的问题
- 用phpMyadmin给MySQL数据表创建触发器遇到的问题
- 烦人的问题:Client does not support authentication protocol requested by server; consider upgrading MySQL client
- MySQL遇到的问题-1-ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld
- Can not connect to database! error: Can't connect to MySQL server on 'localhost' (10061) 安装MYSQL时的问
- mySQL第二次安装时遇到的问题
- mySQL第二次安装时遇到的问题
- 安装mysql时遇到的问题
- 安装mysql时遇到的问题
- 安装mysql遇到的问题
- mysql安装遇到的问题
- mysql安装遇到的问题
- 安装mysql遇到的问题
- [C#]如何将自定义的structure转换为byte[]?
- 超级卓越企业
- Proxy Pattern (代理模式)
- [dotNET]“ThreadPool 对象中没有足够的自由线程来完成操作”的现象和解决办法
- linker error: unable to open input file 'coh.obj'错误的排除
- mysql,phpmyadmin 的安装 时遇到的问题[1251 - Client does yAdmin tried to connect
- 图形图像处理-之-一个复杂度为常数的快速局部自适应算法 上篇
- C#实现EXCEL数据转换到TXT文档
- TemplateWorld-网页模板下载
- GTK+ 多道批处理模拟程序代码
- [dotNET]如何启用WSE2.0的强大的Trace功能
- 图解教你打出15种手影
- [收藏]Web Service故障处理[Matt Powell&Scott Seely]
- [收藏]如何用这篇文章解决我们的工程对普通COM组件的引用:《引用ActiveX/COM组件时的Strong Name》