mysql輸入賬號密碼后跳出一大堆內(nèi)容后但卻進不了mysql?
問題描述
1、mysql 新安裝的,環(huán)境變量也配置了,正常使用了半個月了,今天想改一下mysql的密碼,結(jié)果不知道哪些弄錯了,就出現(xiàn)問題了。重新啟動mysql,輸入賬號密碼后就跳出一大堆內(nèi)容后,但卻進不了mysql.2、跳出一大堆的內(nèi)容如下
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
跳出的內(nèi)容很多,上面是剛開始的一部分。有誰能幫忙看下是什么問題嗎?
問題解答
回答1:你應(yīng)該命令輸錯了,然后跳出了一大推幫助說明,試試下面的命令。
mysql -u root -p
相關(guān)文章:
1. 360瀏覽器與IE瀏覽器有何區(qū)別???2. mysql 怎么做到update只更新一行數(shù)據(jù)?3. mysql 插入數(shù)值到特定的列一直失敗4. node.js - mysql如何通過knex查詢今天和七天內(nèi)的匯總數(shù)據(jù)5. javascript - 用jsonp抓取qq音樂總是說回調(diào)函數(shù)沒有定義6. javascript - 新浪微博網(wǎng)頁版的字數(shù)限制是怎么做的7. 怎么在網(wǎng)頁中設(shè)置圖片進行左右滑動8. python - 在使用Pycharm時經(jīng)常看到如下的樣式,小括號里紅色的部分是什么意思呢?9. sublime可以用其他編譯器替換嗎?10. python 合并dict
