Fixed mysql database not specificed bug