MySQL
1mysql> show databases; 2+--------------------+ 3| Database | 4+--------------------+ 5| information_schema | 6| cdcol | 7| db1 | 8| mysql | 9| performance_schema | 10| test | 11+--------------------+ 12 13mysql> exit; 14Bye 15 16C:\Users\nanigasi>mysqldump -u root -psoregasi test>test.txt; 17Warning: Using a password on the command line interface can be insecure. 18mysqldump: Got error: 1049: Unknown database 'test;' when selecting the database
存在しているはずのDBtestをダンプしてテキスト化しようとしました。認証番号をそのまま記述するのは、安全ではないという文言は、理解できますが、その下にある"Got error"が出現してしまう理由がわかりません。
そのようなDBは、存在しないとありますが、show databases;
すれば表示されています。どのようにすれば解決できるのでしょうか。
mysql(5.6.16)/windows7
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。