If you just need a database for running queries on it, you could simply use your Astahost account and create a mysql database. You can simply create the database, and use phpmyadmin in order to query the tables, or you can create your own sql scripts and ask phpmyadmin to execute your scripts.
For now, all I really need to do is indeed grab a database, and run queries on it. That's about it.
If it's for your school and if you need to type purely (and barely) sql commands, then you can ask for a ssh account at astahost, then you should be able to access your account in command line mode, without hte php environment if it's not to be use because in the next year's program.