试着重设一下mysql的密码,另外看看IIS有关的文件权限设置
解决方案 »
- 怎么有人说用md5生成唯一id呢?
- 关于wamp的问题
- 如何采用php和javscript实现select二级或三级联动?万分紧急
- 请问怎样自动登录网页,只需要输入一次用户名和密码 网页是用php写的
- 求PHP 项目开发文档
- 帮忙介绍php+mysql的图书
- 最近你们的BLOG是不是都出错呀?我的好郁闷。。晕人。
- 如何实现点一次submit,action到两个不同的程序,急啊!~!~
- 急等,这是怎么回事。
- 为什么我的php中使用了session变量,但如果进入其他目录时如,www.a.com/bbs,一进入
- 请问,现在做网站大都有后台的吗?是不是用后台来管理网站比较容易?没用过!
- --如何把多个文件添加至一个压缩包,并能正常下载?????
另外记得拷贝php4isapi.dll到C:\WINNT\system32\下,并在IIS的ISAPI筛选器里添加
把下载的压缩包压缩到任意路径,然后通过IIS配置一个phpmyadmin虚拟目录,注意如果你用的是最新版的mysql,这里就不需要修改config.inc.php文件,现在你就可以进入phpmyadmin的虚拟目录页面,你首先要做的是修改密码,在首页点击“使用者”(phpmyadmin可是可以使用中文界面的哦 B) )然后分别把两个root密码都改成你刚才运行winmysqladmin.exe的密码
改完以后,这时你可以修改config.inc.php 在$cfg['Servers'][$i]['user'] = '' 和$cfg['Servers'][$i]['password'] = '' 处添上相应的用户名和密码。ok !大功告成,休息一下哦!不知道这样做目的何在?也希望能知道详细的iis权限设置的东西。谢谢了!
你直接mysqladmin -u root "old password" "new password"
或 mysql -u root mysql
mysql> SET PASSWORD FOR name=PASSWORD('new password'); 至于iis我用的也不多,记得前一阵子用过一次在iis下架php,不过好象不是版的,没怎么费尽就挺正常的,新版版mysql我就遇到过需要改一下密码的问题,也装过,其它都挺顺利的,
只能帮你这些了,见量
MYSQL 4.1以后, 采用了一种新的用户认证协议, 对于老的客户端会出现不支持认证协议的错误, 以下是官方网站的解决方法﹔ 1Upgrade all client programs to use a 4.1.1 or newer client library. 更新客户端库,这需要更新PHP的扩展库,对于老的api PHP已经不提供了这样的扩展库了 2When connecting to the server with a pre-4.1 client program, use an account that still has a pre-4.1-style password. 使用以前建立的账号连接,对于在新的认证协议下建立的账户就不行了 3Reset the password to pre-4.1 style for each user that needs to use a pre-4.1 client program. This can be done using the SET PASSWORD statement and the OLD_PASSWORD() function: mysql> SET PASSWORD FOR -> 'some_user'@'some_host' = OLD_PASSWORD('newpwd'); Alternatively, use UPDATE and FLUSH PRIVILEGES: mysql> UPDATE mysql.user SET Password = OLD_PASSWORD('newpwd')
-> WHERE Host = 'some_host' AND User = 'some_user'; mysql> FLUSH PRIVILEGES; Substitute the password you want to use for ``newpwd'' in the preceding examples. MySQL cannot tell you what the original password was, so you'll need to pick a new one. 这是一个不错的办法,新建立的账号采用老式的加密协议 4Tell the server to use the older password hashing algorithm: Start mysqld with the --old-passwords option. 这样新认证协议的优点就没法使用了 5Assign an old-format password to each account that has had its password updated to the longer 4.1 format. You can identify these accounts with the following query: mysql> SELECT Host, User, Password FROM mysql.user -> WHERE LENGTH(Password) > 16; For each account record displayed by the query, use the Host and User values and assign a password using the OLD_PASSWORD() function and either SET PASSWORD or UPDATE, as described earlier. 恢复已经升级了口令到老样式 本文参照了 http://dev.mysql.com/doc/mysql/en/Old_client.html