いつもお世話になります。
mysqlの操作について皆様のお知恵を拝借いただけないでしょうか。
###前提・実現したいこと
他のMysqlDBからエクスポートしてもらったsqlファイルを自分のローカルのMysqlDBにインポートしたいです。
###発生している問題・エラーメッセージ
試したコマンド1
mysql -u root -p password database_name < export_table.sql
mysql Ver 14.14 Distrib 5.7.20, for Linux (x86_64) using EditLine wrapper Copyright (c) 2000, 2017, 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.
試したコマンド2
mysql -u root -p < export_table.sql
$enter password ...password
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: NO)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。