Make sure you have this config in your eqemu_config.xml
Code:
<qsdatabase>
<host>localhost</host>
<port>3306</port>
<username>user</username>
<password>pass</password>
<db>queryserv</db>
</qsdatabase>
Of course, make sure it compliments your actual database settings