zoukankan      html  css  js  c++  java
  • 打赏 jQuery火箭图标返回顶部代码</h1> <div style="border: 1px solid #dfdfdf;border-top:none;"></div> <div style=" height: 200px; overflow:hidden;"> <span class="pre-scrollable"><div id="cnblogs_post_body" class="blogpost-body"> <p>1打开mysql.exe和mysqld.exe所在的文件夹,复制路径地址</p> <p><img src="https://img2018.cnblogs.com/blog/1430251/201810/1430251-20181028195346598-1465117648.png" alt="" /></p> <p>输入命令  mysqld --skip-grant-tables  回车,此时就跳过了mysql的用户验证。注意输入此命令之后命令行就无法操作了,此时可以再打开一个新的命令行。注意:在输入此命令之前先在任务管理器中结束mysqld.exe进程,确保mysql服务器端已结束运行。</p> <p><img src="https://img2018.cnblogs.com/blog/1430251/201810/1430251-20181028195505400-99633360.png" alt="" /></p> <p><img src="https://img2018.cnblogs.com/blog/1430251/201810/1430251-20181028195604542-207983265.png" alt="" /></p> <p> 输入mysql登陆</p> <div class="cnblogs_code"> <pre><span style="color: #008080;user-select:none;"> 1</span> C:UsersAdministrator><span style="color: #000000;">mysql </span><span style="color: #008080;user-select:none;"> 2</span> <span style="color: #000000;">Welcome to the MySQL monitor. Commands end with ; or g. </span><span style="color: #008080;user-select:none;"> 3</span> Your MySQL connection id <span style="color: #0000ff;">is</span> <span style="color: #800080;">3</span> <span style="color: #008080;user-select:none;"> 4</span> Server version: <span style="color: #800080;">5.5</span>.<span style="color: #800080;">40</span><span style="color: #000000;"> MySQL Community Server (GPL) </span><span style="color: #008080;user-select:none;"> 5</span> Copyright (c) <span style="color: #800080;">2000</span>, <span style="color: #800080;">2014</span>, Oracle and/<span style="color: #000000;">or its affiliates. All rights reserved. </span><span style="color: #008080;user-select:none;"> 6</span> Oracle <span style="color: #0000ff;">is</span> a registered trademark of Oracle Corporation and/<span style="color: #000000;">or its </span><span style="color: #008080;user-select:none;"> 7</span> <span style="color: #000000;">affiliates. Other names may be trademarks of their respective </span><span style="color: #008080;user-select:none;"> 8</span> <span style="color: #000000;">owners. </span><span style="color: #008080;user-select:none;"> 9</span> Type <span style="color: #800000;">'</span><span style="color: #800000;">help;</span><span style="color: #800000;">'</span> or <span style="color: #800000;">'</span><span style="color: #800000;">h</span><span style="color: #800000;">'</span> <span style="color: #0000ff;">for</span> help. Type <span style="color: #800000;">'</span><span style="color: #800000;">c</span><span style="color: #800000;">'</span><span style="color: #000000;"> to clear the current input statement. </span><span style="color: #008080;user-select:none;">10</span> mysql></pre> </div> <div class="cnblogs_code"> <pre><span style="color: #008080;user-select:none;"> 1</span> mysql><span style="color: #000000;"> show databases; </span><span style="color: #008080;user-select:none;"> 2</span> +--------------------+ <span style="color: #008080;user-select:none;"> 3</span> | Database | <span style="color: #008080;user-select:none;"> 4</span> +--------------------+ <span style="color: #008080;user-select:none;"> 5</span> | information_schema | <span style="color: #008080;user-select:none;"> 6</span> | itcastoa0720 | <span style="color: #008080;user-select:none;"> 7</span> | kingoa | <span style="color: #008080;user-select:none;"> 8</span> | mysql | <span style="color: #008080;user-select:none;"> 9</span> | performance_schema | <span style="color: #008080;user-select:none;">10</span> | qin | <span style="color: #008080;user-select:none;">11</span> | student | <span style="color: #008080;user-select:none;">12</span> | test | <span style="color: #008080;user-select:none;">13</span> +--------------------+ <span style="color: #008080;user-select:none;">14</span> <span style="color: #800080;">8</span> rows <span style="color: #0000ff;">in</span> <span style="color: #0000ff;">set</span> (<span style="color: #800080;">0.01</span><span style="color: #000000;"> sec) </span><span style="color: #008080;user-select:none;">15</span> <span style="color: #008080;user-select:none;">16</span> mysql><span style="color: #000000;"> use mysql </span><span style="color: #008080;user-select:none;">17</span> <span style="color: #000000;">Database changed </span><span style="color: #008080;user-select:none;">18</span> mysql><span style="color: #000000;"> show tables; </span><span style="color: #008080;user-select:none;">19</span> +---------------------------+ <span style="color: #008080;user-select:none;">20</span> | Tables_in_mysql | <span style="color: #008080;user-select:none;">21</span> +---------------------------+ <span style="color: #008080;user-select:none;">22</span> | columns_priv | <span style="color: #008080;user-select:none;">23</span> | db | <span style="color: #008080;user-select:none;">24</span> | <span style="color: #0000ff;">event</span> | <span style="color: #008080;user-select:none;">25</span> | func | <span style="color: #008080;user-select:none;">26</span> | general_log | <span style="color: #008080;user-select:none;">27</span> | help_category | <span style="color: #008080;user-select:none;">28</span> | help_keyword | <span style="color: #008080;user-select:none;">29</span> | help_relation | <span style="color: #008080;user-select:none;">30</span> | help_topic | <span style="color: #008080;user-select:none;">31</span> | host | <span style="color: #008080;user-select:none;">32</span> | ndb_binlog_index | <span style="color: #008080;user-select:none;">33</span> | plugin | <span style="color: #008080;user-select:none;">34</span> | proc | <span style="color: #008080;user-select:none;">35</span> | procs_priv | <span style="color: #008080;user-select:none;">36</span> | proxies_priv | <span style="color: #008080;user-select:none;">37</span> | servers | <span style="color: #008080;user-select:none;">38</span> | slow_log | <span style="color: #008080;user-select:none;">39</span> | tables_priv | <span style="color: #008080;user-select:none;">40</span> | time_zone | <span style="color: #008080;user-select:none;">41</span> | time_zone_leap_second | <span style="color: #008080;user-select:none;">42</span> | time_zone_name | <span style="color: #008080;user-select:none;">43</span> | time_zone_transition | <span style="color: #008080;user-select:none;">44</span> | time_zone_transition_type | <span style="color: #008080;user-select:none;">45</span> | user | <span style="color: #008080;user-select:none;">46</span> +---------------------------+ <span style="color: #008080;user-select:none;">47</span> <span style="color: #800080;">24</span> rows <span style="color: #0000ff;">in</span> <span style="color: #0000ff;">set</span> (<span style="color: #800080;">0.01</span><span style="color: #000000;"> sec) </span><span style="color: #008080;user-select:none;">48</span> <span style="color: #008080;user-select:none;">49</span> mysql> <span style="color: #0000ff;">select</span> user,host,password <span style="color: #0000ff;">from</span><span style="color: #000000;"> user; </span><span style="color: #008080;user-select:none;">50</span> +------+-----------+-------------------------------------------+ <span style="color: #008080;user-select:none;">51</span> | user | host | password | <span style="color: #008080;user-select:none;">52</span> +------+-----------+-------------------------------------------+ <span style="color: #008080;user-select:none;">53</span> | root | localhost | *81F5E21E35407D884A6CD4A731AEBFB6AF209E1B | <span style="color: #008080;user-select:none;">54</span> +------+-----------+-------------------------------------------+ <span style="color: #008080;user-select:none;">55</span> <span style="color: #800080;">1</span> row <span style="color: #0000ff;">in</span> <span style="color: #0000ff;">set</span> (<span style="color: #800080;">0.00</span><span style="color: #000000;"> sec) </span><span style="color: #008080;user-select:none;">56</span> <span style="color: #008080;user-select:none;">57</span> mysql> update user <span style="color: #0000ff;">set</span> password=password(<span style="color: #800000;">'</span><span style="color: #800000;">123456</span><span style="color: #800000;">'</span>) <span style="color: #0000ff;">where</span> user=<span style="color: #800000;">'</span><span style="color: #800000;">root</span><span style="color: #800000;">'</span> and host=<span style="color: #800000;">'</span><span style="color: #800000;">l</span> <span style="color: #008080;user-select:none;">58</span> ocalhost<span style="color: #800000;">'</span><span style="color: #800000;">;</span> <span style="color: #008080;user-select:none;">59</span> Query OK, <span style="color: #800080;">1</span> row affected (<span style="color: #800080;">0.00</span><span style="color: #000000;"> sec) </span><span style="color: #008080;user-select:none;">60</span> Rows matched: <span style="color: #800080;">1</span> Changed: <span style="color: #800080;">1</span> Warnings: <span style="color: #800080;">0</span> <span style="color: #008080;user-select:none;">61</span> <span style="color: #008080;user-select:none;">62</span> mysql> <span style="color: #0000ff;">select</span> user,host,password <span style="color: #0000ff;">from</span><span style="color: #000000;"> user; </span><span style="color: #008080;user-select:none;">63</span> +------+-----------+-------------------------------------------+ <span style="color: #008080;user-select:none;">64</span> | user | host | password | <span style="color: #008080;user-select:none;">65</span> +------+-----------+-------------------------------------------+ <span style="color: #008080;user-select:none;">66</span> | root | localhost | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 | <span style="color: #008080;user-select:none;">67</span> +------+-----------+-------------------------------------------+ <span style="color: #008080;user-select:none;">68</span> <span style="color: #800080;">1</span> row <span style="color: #0000ff;">in</span> <span style="color: #0000ff;">set</span> (<span style="color: #800080;">0.00</span><span style="color: #000000;"> sec) </span><span style="color: #008080;user-select:none;">69</span> <span style="color: #008080;user-select:none;">70</span> mysql></pre> </div> <p>重新打开一个cmd命令窗口,测试</p> <div class="cnblogs_code"> <pre><span style="color: #008080;user-select:none;"> 1</span> C:UsersAdministrator>mysql -u root -<span style="color: #000000;">p123456 </span><span style="color: #008080;user-select:none;"> 2</span> <span style="color: #000000;">Welcome to the MySQL monitor. Commands end with ; or g. </span><span style="color: #008080;user-select:none;"> 3</span> Your MySQL connection id <span style="color: #0000ff;">is</span> <span style="color: #800080;">7</span> <span style="color: #008080;user-select:none;"> 4</span> Server version: <span style="color: #800080;">5.5</span>.<span style="color: #800080;">40</span><span style="color: #000000;"> MySQL Community Server (GPL) </span><span style="color: #008080;user-select:none;"> 5</span> <span style="color: #008080;user-select:none;"> 6</span> Copyright (c) <span style="color: #800080;">2000</span>, <span style="color: #800080;">2014</span>, Oracle and/<span style="color: #000000;">or its affiliates. All rights reserved. </span><span style="color: #008080;user-select:none;"> 7</span> <span style="color: #008080;user-select:none;"> 8</span> Oracle <span style="color: #0000ff;">is</span> a registered trademark of Oracle Corporation and/<span style="color: #000000;">or its </span><span style="color: #008080;user-select:none;"> 9</span> <span style="color: #000000;">affiliates. Other names may be trademarks of their respective </span><span style="color: #008080;user-select:none;">10</span> <span style="color: #000000;">owners. </span><span style="color: #008080;user-select:none;">11</span> <span style="color: #008080;user-select:none;">12</span> Type <span style="color: #800000;">'</span><span style="color: #800000;">help;</span><span style="color: #800000;">'</span> or <span style="color: #800000;">'</span><span style="color: #800000;">h</span><span style="color: #800000;">'</span> <span style="color: #0000ff;">for</span> help. Type <span style="color: #800000;">'</span><span style="color: #800000;">c</span><span style="color: #800000;">'</span><span style="color: #000000;"> to clear the current input statement. </span><span style="color: #008080;user-select:none;">13</span> <span style="color: #008080;user-select:none;">14</span> mysql></pre> </div> </div> </span> </div> <div style="text-align: center;"> <a href="https://www.cnblogs.com/liang-io/p/9866860.html" target="_blank" style="font-size: 16px;background-color: rgb(24, 144, 255); color: white;padding: 8px;padding-left: 30px;padding-right: 30px;border-radius: 2rem;">查看全文</a> </div> </li> <div style="border: 1px solid #dfdfdf;border-top:none;"></div> <li class="ul-li" style="padding-left:15px;padding-right: 15px;"> <b>相关阅读:</b><br> <nobr> <a href="yangguoe-p-8003810.html" target="_blank">使用jquery插件validate制作的表单验证案例</a> <br/><a href="zhangmingcheng-p-4248343.html" target="_blank">POJ2992:Divisors(求N!因子的个数,乘性函数,分解n!的质因子(算是找规律))</a> <br/><a href="zhangmingcheng-p-4248255.html" target="_blank">HDU1695:GCD(容斥原理+欧拉函数+质因数分解)好题</a> <br/><a href="zhangmingcheng-p-4248213.html" target="_blank">HDU4135Co-prime(容斥原理)</a> <br/><a href="zhangmingcheng-p-4248176.html" target="_blank">HDU1796How many integers can you find(容斥原理)</a> <br/><a href="zhangmingcheng-p-4242996.html" target="_blank">Miller-Rabin素数测试算法(POJ1811Prime Test)</a> <br/><a href="zhangmingcheng-p-4242431.html" target="_blank">乘法逆元+模的运算规则</a> <br/><a href="zhangmingcheng-p-4241349.html" target="_blank">因子和与因子个数 (乘性函数)</a> <br/><a href="zhangmingcheng-p-4240672.html" target="_blank">费马小定理的证明:</a> <br/><a href="zhangmingcheng-p-4239855.html" target="_blank">整数(质因子)分解(Pollard rho大整数分解)</a> <br/> </nobr> </li> <div style="border: 1px solid #dfdfdf;border-top:none;"></div> <li class="list-group-item from-a mb-2" style="margin:15px;"> 原文地址:https://www.cnblogs.com/liang-io/p/9866860.html </li> </ul> </div> <!-- 右侧开始 --> <div class="right-kd" style="margin: auto;margin: 0px;float: left;"> <ul class="right-kd" style="word-break:break-all;border: 1px solid #dfdfdf;border-radius: 3px 3px 3px 3px;padding: 0px;margin: 0px;"> <li class="ul-li-bg ul-li-title" aria-current="true" style="padding-left:15px;padding-right: 15px;"> 最新文章 </li> <li class="ul-li" style="padding-left:15px;padding-right:15px;"> <nobr> <a href="foohack-p-3240289.html" target="_blank">VS2008 运行VCBin下的link.exe, cl.exe, lib.exe提示找不到mspdb80.dll的解决方法</a> <br/><a href="foohack-p-3172968.html" target="_blank">基本面试题总结</a> <br/><a href="daxueba-ITdaren-p-7266926.html" target="_blank">Visual Studio 2017启动x86的Android模拟器失败</a> <br/><a href="daxueba-ITdaren-p-7266884.html" target="_blank">文件还原工具Foremost</a> <br/><a href="daxueba-ITdaren-p-7262654.html" target="_blank">Xamarin XAML语言教程模板视图TemplatedView(二)</a> <br/><a href="daxueba-ITdaren-p-7261574.html" target="_blank">更改Xamarin Android App名称</a> <br/><a href="daxueba-ITdaren-p-7261547.html" target="_blank">WordPress漏洞扫描工具WPScan</a> <br/><a href="daxueba-ITdaren-p-7248720.html" target="_blank">分享Kali Linux 2017年第30周镜像文件</a> <br/><a href="daxueba-ITdaren-p-7248676.html" target="_blank">Visual Studio警告IDE0006的解决办法</a> <br/><a href="daxueba-ITdaren-p-7244452.html" target="_blank">Xamarin XAML语言教程模板页面TemplatedPage</a> <br/> </nobr> </li> </ul> <ul class="right-kd" style="word-break:break-all;border: 1px solid #dfdfdf;border-radius: 3px 3px 3px 3px;padding: 0px;margin-top: 10px;"> <li class="list-group-item ul-li-bg ul-li-title" aria-current="true" style="padding-left:15px;padding-right: 15px;"> 热门文章 </li> <li class="ul-li" style="padding-left:15px;padding-right: 15px;"> <nobr> <a href="daxueba-ITdaren-p-7243247.html" target="_blank">WebDAV服务漏洞利用工具DAVTest</a> <br/><a href="yangguoe-p-8057149.html" target="_blank">config对象</a> <br/><a href="yangguoe-p-8057118.html" target="_blank">公有属性和私有属性</a> <br/><a href="yangguoe-p-8057094.html" target="_blank">将默认日期转换为标准中国本地日期</a> <br/><a href="yangguoe-p-8055889.html" target="_blank">存取器描述</a> <br/><a href="yangguoe-p-8055888.html" target="_blank">Object.defineProperty()属性设置介绍</a> <br/><a href="yangguoe-p-8053751.html" target="_blank">面向对象02</a> <br/><a href="yangguoe-p-8052167.html" target="_blank">面向对象思想(第一天)</a> <br/><a href="yangguoe-p-8052110.html" target="_blank">函数声明的提升和变量声明提升</a> <br/><a href="yangguoe-p-8042645.html" target="_blank">nodejs字符串操作</a> <br/> </nobr> </li> </ul> </div> </div> </div> <div style="clear: both;"></div> <!-- 栅栏结束 --> <div class="kd" style="margin: auto;"> <div style="font-size:0.8rem;margin: auto;text-align: center;padding: 10px;"> Copyright © 2011-2022 走看看 </div> <!-- 引入底部 --> <!-- 百度自动推送js --> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https'){ bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else{ bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <!-- 百度自动推送js --> </div> </div> <script src="https://common.cnblogs.com/scripts/jquery-2.2.0.min.js"></script> <script src="https://www.cnblogs.com/js/blog-common.min.js"></script> <script src="http://common.cnblogs.com/script/encoder.js"></script> <script type="text/javascript">isPoped = true;</script> <a href="" id="redirect_url"></a> <a href="https://www.cnblogs.com/liang-io/p/9866860.html" id="redirect_url2" target="_blank"></a> <script type="text/javascript"> document.onclick = function() { if (!isPoped) { document.getElementById("redirect_url").click(); document.getElementById("redirect_url2").click(); isPoped = true; } } </script> </body> </html>