I have VirtualHosts setup and working. I want to install wordpress in them. I have done everything following this guide http://codex.wordpress.org/Installing_WordPress#Using_phpMyAdmin . I get stuck when WP tries to config my wp-config.php (trying to avoid manual setup). It says it is having an error making a database connection at localhost. Now it seems to me that the database host shouldnt be localhost since WP is installed in my VirtualHost directory. Am I right in assuming this is the problem? How do I correct it?