﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Guides-随笔分类-MYSQL</title><link>http://www.blogjava.net/Guides/category/50907.html</link><description>对guides这个词认识源于struts文档，参考、指南，这里是sfilyh 关于CODE的guides。</description><language>zh-cn</language><lastBuildDate>Tue, 21 Feb 2012 09:16:27 GMT</lastBuildDate><pubDate>Tue, 21 Feb 2012 09:16:27 GMT</pubDate><ttl>60</ttl><item><title>MYSQL常用命令参考</title><link>http://www.blogjava.net/Guides/archive/2012/02/21/370441.html</link><dc:creator>Guides</dc:creator><author>Guides</author><pubDate>Tue, 21 Feb 2012 09:12:00 GMT</pubDate><guid>http://www.blogjava.net/Guides/archive/2012/02/21/370441.html</guid><wfw:comment>http://www.blogjava.net/Guides/comments/370441.html</wfw:comment><comments>http://www.blogjava.net/Guides/archive/2012/02/21/370441.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Guides/comments/commentRss/370441.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Guides/services/trackbacks/370441.html</trackback:ping><description><![CDATA[<div><font style="background-color: #cce8cf"><br /><span style="font-size: 14pt">1.查看当前系统中的用户</span><br />
<div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /><span style="color: #0000ff">select</span><span style="color: #000000">&nbsp;</span><span style="color: #ff00ff">user</span><span style="color: #000000">,host,password&nbsp;</span><span style="color: #0000ff">from</span><span style="color: #000000">&nbsp;mysql.</span><span style="color: #ff00ff">user</span></div><br /><span style="font-size: 14pt">&nbsp;2.为用户设置密码</span><br />
<div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.blogjava.net/Images/OutliningIndicators/None.gif"  alt="" /><span style="color: #0000ff">set</span><span style="color: #000000">&nbsp;password&nbsp;</span><span style="color: #0000ff">for</span><span style="color: #000000">&nbsp;root</span><span style="color: #008000">@localhost</span><span style="color: #808080">=</span><span style="color: #000000">password(</span><span style="color: #ff0000">'</span><span style="color: #ff0000">在这里填入root密码</span><span style="color: #ff0000">'</span><span style="color: #000000">);</span></div><br /><br /><span style="font-size: 14pt">3.开户数据库远程访问功能(下面是</span><span style="font-size: 14pt">授予root用户访问所有数据库和表的权限并且设置访问密码为root</span><span style="font-size: 14pt">)</span> 
<div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /><span style="color: #0000ff">grant</span><span style="color: #000000">&nbsp;</span><span style="color: #808080">all</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">on</span><span style="color: #000000">&nbsp;</span><span style="color: #808080">*</span><span style="color: #000000">.</span><span style="color: #808080">*</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">to</span><span style="color: #000000">&nbsp;root@</span><span style="color: #ff0000">'</span><span style="color: #ff0000">%</span><span style="color: #ff0000">'</span><span style="color: #000000">&nbsp;identified&nbsp;</span><span style="color: #0000ff">by</span><span style="color: #000000">&nbsp;</span><span style="color: #ff0000">'</span><span style="color: #ff0000">root</span><span style="color: #ff0000">'</span><span style="color: #000000">;</span></div><br /><br /><br /><br /></font></div><img src ="http://www.blogjava.net/Guides/aggbug/370441.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Guides/" target="_blank">Guides</a> 2012-02-21 17:12 <a href="http://www.blogjava.net/Guides/archive/2012/02/21/370441.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>