Craft on Vagrant: Please advise on initial install (Craft can’t connect to the database with the credentials in craft/config/db.php.) I am trying to install a craft playground using vagrant and puppet.
After firing the default installation for a LAMP stack and creating related DB and User, granting privileges, ... I want to start the craft installation, all I get is:


  Craft can’t connect to the database with the credentials in craft/config/db.php.


The commands I am using to create the DB:

CREATE DATABASE craftdb CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER craftadmin@localhost IDENTIFIED BY 'ThisPassword';
GRANT ALL PRIVILEGES ON craftdb.* TO craftadmin@localhost;
FLUSH PRIVILEGES;
EXIT


The dp.php looks like this:

// The database server name or IP address. Usually this is 'localhost' or '127.0.0.1'.
'server' =&gt; 'localhost',

// The database username to connect with.
'user' =&gt; 'craftadmin',

// The database password to connect with.
'password' =&gt; 'ThisPassword',

// The name of the database to select.
'database' =&gt; 'craftdb',

// The prefix to use when naming tables. This can be no more than 5 characters.
'tablePrefix' =&gt; '',


PHP Packages installed:

"php5",
"php5-common",
"php5-cli",
"php5-mysql",
"php5-sqlite",
"php-pear",
"php5-dev",
"php5-gd",
"php5-curl",
"php5-mcrypt",
"libapache2-mod-php5"


Any suggestions are much appreciated
Solution found:

I copied again all files to the root folder, changed the very same settings and got it to work - for whatever reason it seems that with the first attempt some files where missing.

@Brad: Thanks for taking the time - the shared infos are of help anyway.