Probably reason of this is that you did not create configuration file. You might want to use setup script to create one.
MySQL said:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)