| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> mysql >> ru he rang xin an zhuang de MySQL shu ju ku bian de geng an quan

ru he rang xin an zhuang de MySQL shu ju ku bian de geng an quan

2008-07-11 05:57:41 编辑來源:互联网 评论
 
 
 
本文为【如何让新安装的MySQL数据库变得更安全】的拼音翻译版
  zai ni zi ji an zhuang le yi ge xin de MySQL fu wu qi hou , ni xu yao wei MySQL de root yong hu zhi ding yi ge mu lu ( que sheng wu kou ling ), fou ze ru guo ni wang ji zhe dian , ni jiang ni de MySQL chu yu ji bu an quan de zhuang tai ( zhi shao zai yi duan shi jian nei )。
  zai Unix(Linux) shang , zai an zhao shou ce de zhi ling an zhuang hao MySQL hou , ni bi xu yun xing mysql_install_db jiao ben jian li bao han shou quan biao de mysql shu ju ku he chu shi quan xian 。 zai Windows shang , yun xing fen fa zhong de Setup cheng xu chu shi hua shu ju mu lu he mysql shu ju ku 。 jia ding fu wu qi ye zai yun xing 。
  dang ni di yi ci zai ji qi shang an zhuang MySQL shi ,mysql shu ju ku zhong de shou quan biao shi zhe yang chu shi hua de :
  ni ke yi cong ben di zhu ji (localhost) shang yi root lian jie er bu zhi ding kou ling 。root yong hu yong you suo you quan xian ( bao kuo guan li quan xian ) bing ke zuo ren he shi qing 。( shun bian shuo ming ,MySQL chao ji yong hu yu Unix chao ji yong hu you xiang tong de ming zi , ta men bi ci hao wu guan xi 。)
  ni ming fang wen bei shou yu yong hu ke cong ben di lian jie ming wei test he ren he ming zi yi test_ kai shi de shu ju ku 。 ni ming yong hu ke dui shu ju ku zuo ren he shi qing , dan wu guan li quan xian 。
  cong ben di zhu ji duo fu wu qi de lian jie shi yuan xu de , bu guan lian jie de yong hu shi yong yi ge localhost zhu ji ming huo zhen shi zhu ji ming 。 ru :
  % mysql -h localhost test
  % mysql -h pit.snake.net test
  ni yi root lian jie MySQL shen zhi bu zhi ding kou ling de shi shi zhi shi yi wei zhe chu shi an zhuang bu an quan , suo yi zuo wei guan li yuan de ni shou xian yao zuo de ying gai shi she zhi root kou ling , ran hou gen ju ni she zhi kou ling shi yong de fang fa , ni ye ke yi gao su fu wu qi chong zai shou quan biao shi ta zhi dao zhe ge gai bian 。( zai fu wu qi qi dong shi , ta chong zai biao dao nei cun zhong er ke neng bu zhi dao ni yi jing xiu gai le ta men 。)
  dui MySQL 3.22 he yi shang ban ben , ni ke yi yong mysqladmin she zhi kou ling :
  % mysqladmin -u root password yourpassword
  dui yu MySQL de ren he ban ben , ni ke yi yong mysql cheng xu bing zhi jie xiu gai mysql shu ju ku zhong de user shou quan biao :
  % mysql -u root mysql
  mysql>UPDATE user SET password=PASSWORD("yourpassword") WHERE User="root";
  ru guo ni you MySQL de lao ban ben , shi yong mysql he UPDATE。
  zai ni she zhi wan kou ling hou , tong guo yun xing xia lie ming ling jian cha ni shi fou xu yao gao su fu wu qi chong zai shou quan biao :
  % mysqladmin -u root status
  ru guo fu wu qi reng ran rang ni yi root er bu zhi ding kou ling er lian jie fu wu qi , chong zai shou quan biao :
  % mysqladmin -u root reload
  zai ni she zhi le root de kou ling hou ( bing qie ru guo xu yao chong zai le shou quan biao ), ni jiang xu yao zai ren he shi hou yi root lian jie fu wu qi shi zhi ding kou ling 。【原文】【汉音对照
 
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
zai ni zi ji an zhuang le yi ge xin de MySQL fu wu qi hou , ni xu yao wei MySQL de root yong hu zhi ding yi ge mu lu ( que sheng wu kou ling ), fou ze ru guo ni wang ji zhe dian , ni jiang ni de MySQL chu yu ji bu an quan de zhuang tai ( zhi shao zai yi duan shi jian nei )。 zai Unix(Linux) shang , zai an zhao shou ce de zhi ling an zhuang hao MySQL hou , ni bi xu yun xing mysql_install_db jiao ben jian li bao han shou quan biao de mysql shu ju ku he chu shi quan xian 。 zai Windows shang , yun xing fen fa zhong de Setup cheng xu chu shi hua shu ju mu lu he mysql shu ju ku 。 jia ding fu wu qi ye zai yun xing 。 dang ni di yi ci zai ji qi shang an zhuang MySQL shi ,mysql shu ju ku zhong de shou quan biao shi zhe yang chu shi hua de : ni ke yi cong ben di zhu ji (localhost) shang yi root lian jie er bu zhi ding kou ling 。root yong hu yong you suo you quan xian ( bao kuo guan li quan xian ) bing ke zuo ren he shi qing 。( shun bian shuo ming ,MySQL chao ji yong hu yu Unix chao ji yong hu you xiang tong de ming zi , ta men bi ci hao wu guan xi 。) ni ming fang wen bei shou yu yong hu ke cong ben di lian jie ming wei test he ren he ming zi yi test_ kai shi de shu ju ku 。 ni ming yong hu ke dui shu ju ku zuo ren he shi qing , dan wu guan li quan xian 。 cong ben di zhu ji duo fu wu qi de lian jie shi yuan xu de , bu guan lian jie de yong hu shi yong yi ge localhost zhu ji ming huo zhen shi zhu ji ming 。 ru : % mysql -h localhost test % mysql -h pit.snake.net test ni yi root lian jie MySQL shen zhi bu zhi ding kou ling de shi shi zhi shi yi wei zhe chu shi an zhuang bu an quan , suo yi zuo wei guan li yuan de ni shou xian yao zuo de ying gai shi she zhi root kou ling , ran hou gen ju ni she zhi kou ling shi yong de fang fa , ni ye ke yi gao su fu wu qi chong zai shou quan biao shi ta zhi dao zhe ge gai bian 。( zai fu wu qi qi dong shi , ta chong zai biao dao nei cun zhong er ke neng bu zhi dao ni yi jing xiu gai le ta men 。) dui MySQL 3.22 he yi shang ban ben , ni ke yi yong mysqladmin she zhi kou ling : % mysqladmin -u root password yourpassword dui yu MySQL de ren he ban ben , ni ke yi yong mysql cheng xu bing zhi jie xiu gai mysql shu ju ku zhong de user shou quan biao : % mysql -u root mysql mysql>UPDATE user SET password=PASSWORD("yourpassword") WHERE User="root"; ru guo ni you MySQL de lao ban ben , shi yong mysql he UPDATE。 zai ni she zhi wan kou ling hou , tong guo yun xing xia lie ming ling jian cha ni shi fou xu yao gao su fu wu qi chong zai shou quan biao : % mysqladmin -u root status ru guo fu wu qi reng ran rang ni yi root er bu zhi ding kou ling er lian jie fu wu qi , chong zai shou quan biao : % mysqladmin -u root reload zai ni she zhi le root de kou ling hou ( bing qie ru guo xu yao chong zai le shou quan biao ), ni jiang xu yao zai ren he shi hou yi root lian jie fu wu qi shi zhi ding kou ling 。
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
时尚秀气模特裴裴(8)
时尚秀气模特裴裴(7)
时尚秀气模特裴裴(6)
时尚秀气模特裴裴(5)
白墙黑瓦
广州东郊[原创]
八美至丹巴的东谷天然盆景
不一样的
 
>>返回首页<<
 
 
 为你推荐
 
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
 
©2005- 王朝网络 版权所有