Yesterday, I was having fun writing mysql scripts and importing them.
I would do a drop database and re-import, editing the data in the
script.
Today, I couldn't for the life of me do an import on a mysql export
file, even using commands stored from yesterday, in bash_history.
I am getting er
sounds strange, but if you do it this way, you should have no problems:
mysqldump test_database > test_database.dump
mysql test_database < test_database.dump
will import everything in test_database.dump into your database..
somehow, you had selected your database, but that got dropped ?
Atle