You must select database for use each time you begin a mysql session. mysql>shell> mysql -h host -u user -p yourDatabaseNamemysql>