Craft can't connect to the database (using ec2) I'm trying to set up a Craft based site with ec2 and it won't connect with the info in db.php.

I've reinstalled the Craft files and also run all .phps through http://phpcodechecker.com to check for errors and nothing. Logs all check out to be in working order. And I've followed every step exactly with this tutorial: https://solspace.com/blog/spinning-up-a-craft-cms-development-site-on-amazon-ec2

Here's what my db.php file looks like:

return array(

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

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

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

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

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


I also checked .htaccess files.
So a couple of things:


It's probably not a great idea to connect as root -- it'd be better to create a mysql user that has access only to that db.
Make sure that the db you're connecting to is indeed named Craft (case may count here, I'm not sure)
The table_prefix looks wrong to me; probably it should be just: 'tablePrefix' =&gt; 'craft',


You also might consider checking out Multi-Environment Config for Craft CMS for multi-environment configs for Craft.