zoukankan      html  css  js  c++  java
  • mariadb mysql 报'Access denied for user 'root'@'localhost' (using password: NO)'错误的解决

    C:Program FilesMariaDB 10.2in>mysql admin -u root password "x123456789"
    mysql  Ver 15.1 Distrib 10.2.4-MariaDB, for Win64 (AMD64)
    Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
    
    
    C:Program FilesMariaDB 10.2in>mysql -u root -p
    Enter password: **********
    Welcome to the MariaDB monitor.  Commands end with ; or g.
    Your MariaDB connection id is 14
    Server version: 10.2.4-MariaDB mariadb.org binary distribution
    
    Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
    
    Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
    
    
    
    MariaDB [(none)]> set password for 'root'@'localhost'=password('x123456789');
    Query OK, 0 rows affected (0.00 sec)
    
    MariaDB [(none)]> flush privileges;
    Query OK, 0 rows affected (0.00 sec)
    

      

  • 相关阅读:
    Docker Private Registry
    Dockerfile
    docker存储卷
    392. 判断子序列
    1576. 替换所有的问号
    270. 最接近的二叉搜索树值
    292. Nim 游戏
    680. 验证回文字符串 Ⅱ
    876. 链表的中间结点
    543. 二叉树的直径
  • 原文地址:https://www.cnblogs.com/xchit/p/6991932.html
Copyright © 2011-2022 走看看