Home > Database > Mysql Tutorial > body text

mysql front不能上到Mysql服务器连接"192.168.5.*&_MySQL

WBOY
Release: 2016-06-01 13:28:34
Original
1587 people have browsed it

bitsCN.com

mysql front不能上到Mysql服务器连接"192.168.5.*"解决

 

第一个问题

问题描述:

mysql5.0与mysqlodbc3.51建立连接:无法建立一个访问“mysql"数据库的系统dsn。(root帐号密码都没错,”cmd”下可以正常登录)

就是出现下面的错误

[MySQL][ODBC 3.51 Driver] Client does not support authentication protocol requested by server;consider upgrading MySQL client

解决办法:

SET PASSWORD FOR 用户名@localhost = OLD_PASSWORD('密码');或者UPDATE mysql.user SET Password = OLD_PASSWORD('密码')  WHERE Host = 'localhost' AND User = 'root';
Copy after login

第二个问题:

问题描述:

使用mysql-front远程连接数据库,但是出现mysql front 不能上到Mysql服务器连接"192.168.5.*"

之类的问题:

解决办法:

远程授权:

grant all privileges on *.* to 'root'@'%'  identified by '123456';其中123456是数据库的密码flush privileges;
Copy after login

 

如果这样还是出现上面的问题,首先看端口号3306是否正确,然后关闭防火墙;

 

bitsCN.com
Related labels:
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!