Make sure you have the section in your eqemu config file configured properly to use your database. If you leave it at the default database name, it won't work.
Code:
<database>
<host>localhost</host>
<port>3306</port>
<username>username</username>
<password>password</password>
<db>databasename</db>
</database>