---
title: "mysql 远程访问设"
author: "bd2007"
date: "2011-10-14T12:29:30Z"
tags: []
categories: ["数据库"]
slug: "mysql"
draft: false
lastmod: "2011-10-14T12:29:30Z"
id: 1195815
url: "https://bd2007.iteye.com/blog/1195815"
---

登陆以后运行以下命令，给予远程访问客户端权限.. 

 

grant all on *.* to 'root'@'12.12.1.52' identified by 'root';

 

'root'表示用户名.

 

'12.12.1.52' 你自己机子的ip地址

 

root表示远程登陆密码.