Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-01 14:03:05
Original
819 people have browsed it

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

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

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

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

set password for )

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!