I am trying to open an SQL file, but unfortunately I have some problems. When I try
mysql -u -p dbname < dbsource
it says
ERROR 1049 (42000): Unknown database
The file also encrypted SHA512 and I'm not sure if that is the case or not. Need help. Thank you
mysql -u <uid>-p <dbname>
, just to make sure? – Marc Vanhoomissen Nov 06 '17 at 11:48