The only parameter that you know up front is the hostname, which is localhost. For the rest, do this:
# mysql
mysql> create database somedb;
mysql> grant all on somedb.* to someuser@localhost identified by 'somepass';
mysql> flush privileges;
mysql> quit
the database name will be somedb, user name will be someuser, and password will be somepass (keep the single quotes in the command there). No idea about the table name, though--that should be in the docs.