Home  >  Article  >  Database  >  mysql 4.1采用了新验证方法后的认证问题_MySQL

mysql 4.1采用了新验证方法后的认证问题_MySQL

WBOY
WBOYOriginal
2016-06-01 14:03:05816browse

  mysql 4.1以后采用了新的验证方法,所以导致一些程序不能正常使用。我们可以使用old_password()函数,使mysql继续使用旧的验证方式。

  比如我们建立一个admin的用户,拥有全部权限。密码12345

grant all on *.* to identified by “12345″

  然后用下面命令设置使用旧的验证方式

set password for )

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn