Update api.php

changed credentials for mySQL adapter