Create mysql databases without using cpanel?

I dont have access to create databases with phpmyadmin, I need to use cpanel for that. But I'm writing a script that needs to create a database, is there a way to externally tell cpanel to make a database? My host suggested this, but wasn't sure if it existed.