Probably reason of this is that you did not create configuration file. You might want to use setup script to create one.
MySQL said:
Cannot connect: invalid settings.