select version();desc mysql.user;
D:\wamp64\wamp\bin\mysql\mysql5.6.17\bin>mysql -hgoDev -uroot -ppassword
Warning: Using a password on the command line interface can be insecure.
ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded: ÕÒ²»µ½Ö¸
¶¨µÄÄ£¿é¡£
D:\wamp64\wamp\bin\mysql\mysql5.6.17\bin>mysql -hgoDev -unativeuserDEV -ppassword
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 99
Server version: 8.0.12 MySQL Community Server - GPL
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> select version();
+-----------+
| version() |
+-----------+
| 8.0.12 |
+-----------+
1 row in set (0.04 sec)
mysql> desc mysql.user;
+------------------------+-----------------------------------+------+-----+-----------------------+-
------+
| Field | Type | Null | Key | Default |
Extra |
+------------------------+-----------------------------------+------+-----+-----------------------+-
------+
| Host | char(60) | NO | PRI | |
|
| User | char(32) | NO | PRI | |
|
| Select_priv | enum('N','Y') | NO | | N |
|
| Insert_priv | enum('N','Y') | NO | | N |
|
| Update_priv | enum('N','Y') | NO | | N |
|
| Delete_priv | enum('N','Y') | NO | | N |
|
| Create_priv | enum('N','Y') | NO | | N |
|
| Drop_priv | enum('N','Y') | NO | | N |
|
| Reload_priv | enum('N','Y') | NO | | N |
|
| Shutdown_priv | enum('N','Y') | NO | | N |
|
| Process_priv | enum('N','Y') | NO | | N |
|
| File_priv | enum('N','Y') | NO | | N |
|
| Grant_priv | enum('N','Y') | NO | | N |
|
| References_priv | enum('N','Y') | NO | | N |
|
| Index_priv | enum('N','Y') | NO | | N |
|
| Alter_priv | enum('N','Y') | NO | | N |
|
| Show_db_priv | enum('N','Y') | NO | | N |
|
| Super_priv | enum('N','Y') | NO | | N |
|
| Create_tmp_table_priv | enum('N','Y') | NO | | N |
|
| Lock_tables_priv | enum('N','Y') | NO | | N |
|
| Execute_priv | enum('N','Y') | NO | | N |
|
| Repl_slave_priv | enum('N','Y') | NO | | N |
|
| Repl_client_priv | enum('N','Y') | NO | | N |
|
| Create_view_priv | enum('N','Y') | NO | | N |
|
| Show_view_priv | enum('N','Y') | NO | | N |
|
| Create_routine_priv | enum('N','Y') | NO | | N |
|
| Alter_routine_priv | enum('N','Y') | NO | | N |
|
| Create_user_priv | enum('N','Y') | NO | | N |
|
| Event_priv | enum('N','Y') | NO | | N |
|
| Trigger_priv | enum('N','Y') | NO | | N |
|
| Create_tablespace_priv | enum('N','Y') | NO | | N |
|
| ssl_type | enum('','ANY','X509','SPECIFIED') | NO | | |
|
| ssl_cipher | blob | NO | | NULL |
|
| x509_issuer | blob | NO | | NULL |
|
| x509_subject | blob | NO | | NULL |
|
| max_questions | int(11) unsigned | NO | | 0 |
|
| max_updates | int(11) unsigned | NO | | 0 |
|
| max_connections | int(11) unsigned | NO | | 0 |
|
| max_user_connections | int(11) unsigned | NO | | 0 |
|
| plugin | char(64) | NO | | caching_sha2_password |
|
| authentication_string | text | YES | | NULL |
|
| password_expired | enum('N','Y') | NO | | N |
|
| password_last_changed | timestamp | YES | | NULL |
|
| password_lifetime | smallint(5) unsigned | YES | | NULL |
|
| account_locked | enum('N','Y') | NO | | N |
|
| Create_role_priv | enum('N','Y') | NO | | N |
|
| Drop_role_priv | enum('N','Y') | NO | | N |
|
| Password_reuse_history | smallint(5) unsigned | YES | | NULL |
|
| Password_reuse_time | smallint(5) unsigned | YES | | NULL |
|
+------------------------+-----------------------------------+------+-----+-----------------------+-
------+
49 rows in set (0.05 sec)
mysql>
------------------------------------------------------------------------------------
mysql> select version();
+-----------+
| version() |
+-----------+
| 5.6.17 |
+-----------+
1 row in set (0.00 sec)
mysql> desc mysql.user;
+------------------------+-----------------------------------+------+-----+---------+----
| Field | Type | Null | Key | Default | Ext
+------------------------+-----------------------------------+------+-----+---------+----
| Host | char(60) | NO | PRI | |
| User | char(16) | NO | PRI | |
| Password | char(41) | NO | | |
| Select_priv | enum('N','Y') | NO | | N |
| Insert_priv | enum('N','Y') | NO | | N |
| Update_priv | enum('N','Y') | NO | | N |
| Delete_priv | enum('N','Y') | NO | | N |
| Create_priv | enum('N','Y') | NO | | N |
| Drop_priv | enum('N','Y') | NO | | N |
| Reload_priv | enum('N','Y') | NO | | N |
| Shutdown_priv | enum('N','Y') | NO | | N |
| Process_priv | enum('N','Y') | NO | | N |
| File_priv | enum('N','Y') | NO | | N |
| Grant_priv | enum('N','Y') | NO | | N |
| References_priv | enum('N','Y') | NO | | N |
| Index_priv | enum('N','Y') | NO | | N |
| Alter_priv | enum('N','Y') | NO | | N |
| Show_db_priv | enum('N','Y') | NO | | N |
| Super_priv | enum('N','Y') | NO | | N |
| Create_tmp_table_priv | enum('N','Y') | NO | | N |
| Lock_tables_priv | enum('N','Y') | NO | | N |
| Execute_priv | enum('N','Y') | NO | | N |
| Repl_slave_priv | enum('N','Y') | NO | | N |
| Repl_client_priv | enum('N','Y') | NO | | N |
| Create_view_priv | enum('N','Y') | NO | | N |
| Show_view_priv | enum('N','Y') | NO | | N |
| Create_routine_priv | enum('N','Y') | NO | | N |
| Alter_routine_priv | enum('N','Y') | NO | | N |
| Create_user_priv | enum('N','Y') | NO | | N |
| Event_priv | enum('N','Y') | NO | | N |
| Trigger_priv | enum('N','Y') | NO | | N |
| Create_tablespace_priv | enum('N','Y') | NO | | N |
| ssl_type | enum('','ANY','X509','SPECIFIED') | NO | | |
| ssl_cipher | blob | NO | | NULL |
| x509_issuer | blob | NO | | NULL |
| x509_subject | blob | NO | | NULL |
| max_questions | int(11) unsigned | NO | | 0 |
| max_updates | int(11) unsigned | NO | | 0 |
| max_connections | int(11) unsigned | NO | | 0 |
| max_user_connections | int(11) unsigned | NO | | 0 |
| plugin | char(64) | YES | | |
| authentication_string | text | YES | | NULL |
| password_expired | enum('N','Y') | NO | | N |
+------------------------+-----------------------------------+------+-----+---------+----
43 rows in set (0.02 sec)
mysql>
select version();desc mysql.user;的更多相关文章
- MySQL----This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery
This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'的意思是,这版本的 MySQL 不支持使 ...
- Mysql:Error Code 1235,This version of MySQL doesn’t yet support ‘LIMIT & IN/ALL/ANY/SOME 错误解决
This version of MySQL doesn’t yet support ‘LIMIT & IN/ALL/ANY/SOME 错误解决 这次国庆节回来后的测试中,在一个Mysql表达式 ...
- This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery 解决方法
This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'的意思是,这版本的 MySQL 不支持使 ...
- Mysql:This version of MySQL doesn’t yet support ‘LIMIT & IN/ALL/ANY/SOME 错误解决
From: http://blog.chinaunix.net/uid-22414998-id-2945656.html This version of MySQL doesn’t yet suppo ...
- This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery' 解决办法
背景:mysql5.1.36,mybatis 前言:为了解决一对多,分页显示,但是前端主要是显示的一的一方的数据和(多方的某个字段拼接在一起),此时的limit不能直接跟在查询的后面,需要用子查询把需 ...
- Mysql:1235 - This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'错误解决
select distinct b.sale_count from product_sale b where b.pro_id in (select a.pro_id from product a L ...
- This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery
This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'的意思是,这版本的 MySQL 不支持使 ...
- 2012的数据库 select @@version 都是说版本为2008 R2
如图 我使用的是sqlserver2012登录的,select @@version 查询出来的却是2008 ,而且附加不了2012的数据库. 在网上搜到解决方法:1确认是否安装了2012(废话没安装是 ...
- select加锁分析(Mysql)
[原创]惊!史上最全的select加锁分析(Mysql) 前言 大家在面试中有没遇到面试官问你下面六句Sql的区别呢 select * from table where id = ? select * ...
随机推荐
- 在tomcat发布项目遇到的问题
今天从SVN上把系统导入本地发生了异常,问题如下: java.math.BigInteger cannot be cast to java.lang.Long 百度一番后发现是因为使用Mysql8.0 ...
- LeetCode OJ--Binary Tree Preorder Traversal
http://oj.leetcode.com/problems/binary-tree-preorder-traversal/ 二叉树的先跟遍历,写的是递归版本,也可以使用stack来进行,替代了递归 ...
- 本地hosts文件
(1)什么是Hosts文件? Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,当用户在浏览器中输入一个需要登录的网 ...
- vue生命周期回调方法
最近在用vue开发一个商品列表页,因需要根据请求回的字段是否有内容来显示隐藏该字段, 但因为vue异步加载导致显示隐藏方法不起作业(主要是判断条件取不到页面渲染内容),围观了vue生命周期后发现upd ...
- GitHub 上受欢迎的 Android UI Library 整理二
通知 https://github.com/Tapadoo/Alerter ★2528 - 克服Toast和Snackbar的限制https://github.com/wenmingvs/Notify ...
- git history 记录(上传到 issu-170 )
一.上传到gitlab 本地issu-170落后git很多,发生冲突的要手动修改. 2000 cd robot_demo_0226_ws/ 2001 ls 2002 cd IGV01-SW-170 2 ...
- luogu P1879 [USACO06NOV]玉米田Corn Fields
题目描述 Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ...
- java多线程04----------final和static
final和static关键字 final关键字 1.final关键字在单线程中的特点: 1)final修饰的静态成员:必须在进行显示初始化或静态代码块赋值,并且仅能赋值一次. 2)final修饰的类 ...
- DNS入门(转)
转自:阮一峰的网络日志 作者: 阮一峰 DNS 是互联网核心协议之一.不管是上网浏览,还是编程开发,都需要了解一点它的知识. 本文详细介绍DNS的原理,以及如何运用工具软件观察它的运作.我的目标是,读 ...
- SQLServer 跟踪 扩展事件(Extended Events) 专家
http://blog.csdn.net/kk185800961/article/details/49725903