<i id='EceKV'><tr id='EceKV'><dt id='EceKV'><q id='EceKV'><span id='EceKV'><b id='EceKV'><form id='EceKV'><ins id='EceKV'></ins><ul id='EceKV'></ul><sub id='EceKV'></sub></form><legend id='EceKV'></legend><bdo id='EceKV'><pre id='EceKV'><center id='EceKV'></center></pre></bdo></b><th id='EceKV'></th></span></q></dt></tr></i><div id='EceKV'><tfoot id='EceKV'></tfoot><dl id='EceKV'><fieldset id='EceKV'></fieldset></dl></div>

    <tfoot id='EceKV'></tfoot><legend id='EceKV'><style id='EceKV'><dir id='EceKV'><q id='EceKV'></q></dir></style></legend>

      • <bdo id='EceKV'></bdo><ul id='EceKV'></ul>
    1. <small id='EceKV'></small><noframes id='EceKV'>

      '用户'root'@'localhost'的访问被拒绝(使用密码:NO)'

      #39;Access denied for user #39;root#39;@#39;localhost#39; (using password: NO)#39;(用户root@localhost的访问被拒绝(使用密码:NO))

        <bdo id='CWVtl'></bdo><ul id='CWVtl'></ul>

        <legend id='CWVtl'><style id='CWVtl'><dir id='CWVtl'><q id='CWVtl'></q></dir></style></legend>
            <tbody id='CWVtl'></tbody>

          <small id='CWVtl'></small><noframes id='CWVtl'>

            <i id='CWVtl'><tr id='CWVtl'><dt id='CWVtl'><q id='CWVtl'><span id='CWVtl'><b id='CWVtl'><form id='CWVtl'><ins id='CWVtl'></ins><ul id='CWVtl'></ul><sub id='CWVtl'></sub></form><legend id='CWVtl'></legend><bdo id='CWVtl'><pre id='CWVtl'><center id='CWVtl'></center></pre></bdo></b><th id='CWVtl'></th></span></q></dt></tr></i><div id='CWVtl'><tfoot id='CWVtl'></tfoot><dl id='CWVtl'><fieldset id='CWVtl'></fieldset></dl></div>
            1. <tfoot id='CWVtl'></tfoot>

              • 本文介绍了'用户'root'@'localhost'的访问被拒绝(使用密码:NO)'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在尝试设置用户 root 的密码,但出现以下错误,知道吗?

                I'm trying to set the password of the user root but I'm gettin the error below, any idea?

                +----------------------------------------------------------------------------------------------------------------------------------------+
                | Grants for root@localhost                                                                                                              |
                +----------------------------------------------------------------------------------------------------------------------------------------+
                | GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*436576511F70A4E3B305E1AB8E209851945D8687' WITH GRANT OPTION |
                +----------------------------------------------------------------------------------------------------------------------------------------+
                1 row in set (0.00 sec)
                
                
                mysql> exit
                Bye
                root@tirengarfio:/var/www/rs2# mysqladmin -u root password foo,
                mysqladmin: connect to server at 'localhost' failed
                error: 'Access denied for user 'root'@'localhost' (using password: NO)'
                

                推荐答案

                $ mysqladmin -u root -p password
                Enter password: 
                New password: 
                Confirm new password:
                

                password 应按字面输入.这是一个命令.您不必将 password 替换为您的实际密码.

                password is to be typed literally. It's a command. You don't have to substitute password with your actual password.

                这篇关于'用户'root'@'localhost'的访问被拒绝(使用密码:NO)'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                Why Mysql#39;s Group By and Oracle#39;s Group by behaviours are different(为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同)
                MySQL GROUP BY DateTime +/- 3 seconds(MySQL GROUP BY DateTime +/- 3 秒)

                  <bdo id='0ZrjZ'></bdo><ul id='0ZrjZ'></ul>
                • <i id='0ZrjZ'><tr id='0ZrjZ'><dt id='0ZrjZ'><q id='0ZrjZ'><span id='0ZrjZ'><b id='0ZrjZ'><form id='0ZrjZ'><ins id='0ZrjZ'></ins><ul id='0ZrjZ'></ul><sub id='0ZrjZ'></sub></form><legend id='0ZrjZ'></legend><bdo id='0ZrjZ'><pre id='0ZrjZ'><center id='0ZrjZ'></center></pre></bdo></b><th id='0ZrjZ'></th></span></q></dt></tr></i><div id='0ZrjZ'><tfoot id='0ZrjZ'></tfoot><dl id='0ZrjZ'><fieldset id='0ZrjZ'></fieldset></dl></div>

                  <tfoot id='0ZrjZ'></tfoot>
                  • <legend id='0ZrjZ'><style id='0ZrjZ'><dir id='0ZrjZ'><q id='0ZrjZ'></q></dir></style></legend>
                      <tbody id='0ZrjZ'></tbody>

                    1. <small id='0ZrjZ'></small><noframes id='0ZrjZ'>