ChinaUnix.net
相关文章推荐:

mysql 开启远程链接

1、进入mysql,创建一个新用户mysql: 格式:grant 权限 on 数据库名.表名 用户@登录主机 identified by "用户密码"; grant select,update,insert,delete on *.* to mysql@192.168.10.21 identified by "123456"; 查看结果,执行: use mysql; select host,user,password from user; 可以看到在user表中已有刚才创建的mysql用户。host字段表示登录的主机,其值可以用IP,也可用 主机名, 将...

by netid - MySQL文档中心 - 2009-09-18 17:02:37 阅读(1358) 回复(0)

相关讨论

开启mysql远程访问 mysql默认是不可以通过远程机器访问的,通过下面的配置可以开启远程访问. 我的mysql环境是ubuntu+mysql5 1.修改/etc/mysql/my.conf,修改bind-address,指定为本机实际IP地址,你的my.con修改完大概是如下的样子 [mysqld] # # * Basic Settings # default-character-set=utf8 default-storage-engine=INNODB bind-address = 192.168.1.107 user = mysql pid-file = /var/run/mysqld/mysqld....

by hengxingwuji - Linux文档专区 - 2009-10-23 10:50:40 阅读(870) 回复(0)

授权法。例如,你想myuser使用mypassword从任何主机连接到mysql服务器的话。 GRANT ALL PRIVILEGES ON *.* TO [email='myuser'@'%']'myuser'@'%'[/email] IDENTIFIED BY 'mypassword' WITH GRANT OPTION;如果你想允许用户myuser从ip为192.168.1.3的主机连接到mysql服务器,并使用mypassword作为密码GRANT ALL PRIVILEGES ON *.* TO [email='myuser'@'192.168.1.3']'myuser'@'192.168.1.3'[/email] IDENTIFIED BY 'mypasswo...

by zyghost119 - MySQL文档中心 - 2008-11-25 22:16:02 阅读(1285) 回复(0)

http://zhidao.baidu.com/question/174187901.html



如果是单检查网络服务方面的,可以检查参数: 

by xpf1990xpf - MySQL - 2011-12-22 08:53:13 阅读(653) 回复(0)

关于链接

by yuqingjiushi - MySQL - 2011-12-23 02:52:14 阅读(1185) 回复(0)

开启 mysql远程登陆帐号 开启 mysql远程登陆帐号有两大步: 1、确定服务器上的防火墙没有阻止 3306 端口。 mysql 默认的端口是 3306 ,需要确定防火墙没有阻止 3306 端口,否则远程是无法通过 3306 端口连接到 mysql 的。 如果您在安装 mysql 时指定了其他端口,请在防火墙中开启您指定的 mysql 使用的端口号。 如果不知道怎样设置您的服务器上的防火墙,请向您的服务器管理员咨询。 2、增加允许远程连接 mysql 用户...

by cu_Cbear - Veritas技术交流区 - 2012-03-15 21:17:42 阅读(1037) 回复(1)

1、进入mysql,创建一个新用户xuys: 格式:grant 权限 on 数据库名.表名 用户@登录主机 identified by "用户密码"; grant select,update,insert,delete on *.* to xuys@192.168.88.234 identified by "xuys1234"; 查看结果,执行: use mysql; select host,user,password from user; 可以看到在user表中已有刚才创建的xuys用户。host字段表示登录的主机,其值可以用IP,也可用 主机名, 将host字段的值改为%就表示在任何客户端机器...

by lijichao - MySQL文档中心 - 2007-01-31 13:26:53 阅读(968) 回复(0)

mysql远程登陆的解决办法! 服务器侧执行下列命令 mysql>use mysql; mysql>grant all privileges on *.* to [email=root@'192.168.10.187']root@'192.168.10.187'[/email] identified by 'embedded'; 经过上面赋予权限,允许192.168.10.187这个用户以root帐户 embedded这个密码进行登陆~! 远程登陆注意端口 mysql登陆: 运行mysqlD_SAFE启动数据库. 连接到本机:直接运行 mysql,进入mysql提示符 mysql> ...

by huanat - MySQL文档中心 - 2006-10-10 15:08:31 阅读(1040) 回复(0)

如果你的程序出现在很好的网络带宽下链接mysql服务器很慢的情况,请在mysql服务器的配置中增加以下配置参数即可加快访问速度。 [color="#0000ff"][mysqld] skip-name-resolve 相关文档: How mysql uses DNS When a new thread connects to mysqld, mysqld will spawn a new thread to handle the request. This thread will first check if the hostname is in the hostname cache. If not the thread will call gethostbyaddr_r...

by sss0213 - MySQL文档中心 - 2009-06-11 14:19:16 阅读(1363) 回复(0)

我记得看到过mysql5可以实现在本地建一个表,这个表只有个结构,数据是指向远程另外的一个表的,建表时用jdbc的url,谁清楚给指点一下,或者给指个文档也好啊

by zyrf2001 - MySQL - 2006-04-07 09:09:36 阅读(1304) 回复(2)

mysql 可以这样链接远程数据库: mysql -uusername -ppassword -hremote_ip 但 perl DBI 只能这样: DBI->connect("dbi:mysql:database:remote_ip","username","password") 请问DBI模块能否不指定 database 来链接数据库?或者有没有其他模块能实现这个要求? 也就是在 perl 里,只给出 username password remote_ip 怎么链接远程mysql 呢? [ 本帖最后由 hotsnow 于 2009-8-24 11:49 编辑 ]

by hotsnow - Perl - 2009-08-30 17:12:14 阅读(1953) 回复(4)