mysql輸入賬號(hào)密碼后跳出一大堆內(nèi)容后但卻進(jìn)不了mysql?
問(wèn)題描述
1、mysql 新安裝的,環(huán)境變量也配置了,正常使用了半個(gè)月了,今天想改一下mysql的密碼,結(jié)果不知道哪些弄錯(cuò)了,就出現(xiàn)問(wèn)題了。重新啟動(dòng)mysql,輸入賬號(hào)密碼后就跳出一大堆內(nèi)容后,但卻進(jìn)不了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)容很多,上面是剛開始的一部分。有誰(shuí)能幫忙看下是什么問(wèn)題嗎?
問(wèn)題解答
回答1:你應(yīng)該命令輸錯(cuò)了,然后跳出了一大推幫助說(shuō)明,試試下面的命令。
mysql -u root -p
相關(guān)文章:
1. objective-c - iOS怎么實(shí)現(xiàn)像QQ或者微信的實(shí)時(shí)推送2. 網(wǎng)頁(yè)爬蟲 - python爬蟲翻頁(yè)問(wèn)題,請(qǐng)問(wèn)各位大神我這段代碼怎樣翻頁(yè),還有價(jià)格要登陸后才能看到,應(yīng)該怎么解決3. 求大神幫我看看是哪里寫錯(cuò)了 感謝細(xì)心解答4. MySQL客戶端吃掉了SQL注解?5. 數(shù)據(jù)庫(kù) - MySQL 單表500W+數(shù)據(jù),查詢超時(shí),如何優(yōu)化呢?6. php自學(xué)從哪里開始?7. mysql - AttributeError: ’module’ object has no attribute ’MatchType’8. android - Windows系統(tǒng)下運(yùn)行react-native App時(shí),報(bào)下面的錯(cuò)誤?9. phpstady在win10上運(yùn)行10. javascript - 圖片能在網(wǎng)站顯示,但控制臺(tái)仍舊報(bào)錯(cuò)403 (Forbidden)
