mysql输入账号密码后跳出一大堆内容后但却进不了mysql?
问题描述
1、mysql 新安装的,环境变量也配置了,正常使用了半个月了,今天想改一下mysql的密码,结果不知道哪些弄错了,就出现问题了。重新启动mysql,输入账号密码后就跳出一大堆内容后,但却进不了mysql.2、跳出一大堆的内容如下
mysql Ver 14.14 Distrib 5.5.53, for Win32 (AMD64)Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Usage: mysql [OPTIONS] [database] -?, --help Display this help and exit. -I, --help Synonym for -? --auto-rehash Enable automatic rehashing. One doesn’t need to use ’rehash’ to get table and field completion, but startup and reconnecting may take a longer time. Disable with --disable-auto-rehash. (Defaults to on; use --skip-auto-rehash to disable.) -A, --no-auto-rehash No automatic rehashing. One has to use ’rehash’ to get table and field completion. This gives a quicker start of mysql and disables rehashing on reconnect. --auto-vertical-output Automatically switch to vertical output mode if the result is wider than the terminal width. -B, --batch Don’t use history file. Disable interactive behavior. (Enables --silent.) --character-sets-dir=name Directory for character set files. --column-type-info Display column type information. -c, --comments Preserve comments. Send comments to the server. The default is --skip-comments (discard comments), enable with --comments. -C, --compress Use compression in server/client protocol. -#, --debug[=#] This is a non-debug version. Catch this and exit. --debug-check Check memory and open file usage at exit. -T, --debug-info Print some debug info at exit. -D, --database=name Database to use. --default-character-set=name Set the default character set. --delimiter=name Delimiter to be used. --enable-cleartext-plugin Enable/disable the clear text authentication plugin. -e, --execute=name Execute command and quit. (Disables --force and history file.) -E, --vertical Print the output of a query (rows) vertically. -f, --force Continue even if we get an SQL error. -G, --named-commands
跳出的内容很多,上面是刚开始的一部分。有谁能帮忙看下是什么问题吗?
问题解答
回答1:你应该命令输错了,然后跳出了一大推帮助说明,试试下面的命令。
mysql -u root -p
相关文章:
1. docker不显示端口映射呢?2. docker api 开发的端口怎么获取?3. php - 想要远程推送emjio ios端怎么搞 需要怎么配合4. angular.js - node.js中下载的angulae无法引入5. python 多进程 或者 多线程下如何高效的同步数据?6. vim - docker中新的ubuntu12.04镜像,运行vi提示,找不到命名.7. angular.js - Angular 刷新页面问题8. android - 添加multidex后在部分机型上产生anr的问题,该如何解决9. docker-compose 为何找不到配置文件?10. 一个走错路的23岁傻小子的提问
