开发者社区> 问答> 正文

数据库密码加密模式该怎么选

已解决

展开
收起
2018-01-10 00:35:14 669 0
1 条回答
写回答
取消 提交回答
  • 采纳回答

    详细解答可以参考官方帮助文档


    mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD(‘your_existing_password’). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file

     

    这个问题的意思是在本地上进行测试的环境mysql为4.1版本,更换服务器为5.1版本,需要更换php版本和更换mysql的数据加密方式来进行解决。

     

    登陆主机管理平台 高级环境设置>修改php版本

    2015-11-11(01).JPG

     

    在数据库信息中重置数据库密码,修改数据的加密方式,如下图所示。

    2015-11-11(02).JPG

     

     

    如问题还未解决,请联系售后技术支持

    2018-01-14 01:07:11
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
基于可信计算与加密计算 打造云上原生计算安全 立即下载
\"视频服务特色解决方案——直播连麦与点播加密 \" 立即下载
量子加密通信技术 立即下载