Home > Database > Mysql Tutorial > 怎么开启MySql的远程连接

怎么开启MySql的远程连接

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:16:04
Original
1095 people have browsed it

如何开启MySql的远程连接 ? MySql安装成功后,在本机通过127.0.0.1或者localhost是可以登陆成功的,但是一旦使用ip地址或者在其他电脑上使用工具进行数据库连接, 就会出现连接不成功的现象,经过在网上查找,?主要是又由于MySql远程访问的权限没有开,在sql

如何开启MySql的远程连接

?

MySql安装成功后,在本机通过127.0.0.1或者localhost是可以登陆成功的,但是一旦使用ip地址或者在其他电脑上使用工具进行数据库连接, 就会出现连接不成功的现象,经过在网上查找,?主要是又由于MySql远程访问的权限没有开,在sql窗口执行“grant all on *.* to 'root'@'%' identified by 'root的密码'”,则任何客户端可以访问,如果想要指定客户端,则需要将'%'修改为指定的IP地址。

Related labels:
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
Latest Issues
Framework error
From 1970-01-01 08:00:00
0
0
0
Can anyone help me take a look?
From 1970-01-01 08:00:00
0
0
0
Composer cannot install laravel
From 1970-01-01 08:00:00
0
0
0
homestead - laravel new app reports error
From 1970-01-01 08:00:00
0
0
0
composer installation failed
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template