MySql连接问题

由于最新版MYSQL服务器的密码算法与原有的不一样,导致用ODBC或PHP中连接不上。
所以安装好后,请用管理员帐号登录后执行如下命令:

use mysql
SET PASSWORD FOR ‘yourname’@'localhost’ = OLD_PASSWORD(’yourpass’);

这样就把密码改为原来的加密方式了。

17fav 收藏本文
标签:

相关日志 随机文章

Comments

3 Responses to “MySql连接问题”

  1. feuvan on 2007-03-04 9:21 pm

    真土鳖

    [Reply]

  2. Sunshow on 2007-03-04 9:24 pm

    一般土鳖
    很早以前的东西
    跟这里发一份省得每次都找一遍

    [Reply]

  3. feuvan on 2007-03-05 11:43 am

    只支持4.1以前mysql的程序可以废弃了

    [Reply]

Leave a Reply




请输入验证码

Use "<coolcode></coolcode>" to publish your code.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.

京ICP备05059555号

收藏 & 分享

Powered by 17fav.com