I have a good implementation of my Drupal site cooking at my ISP, I don't want to mess it up. So I decided to install WAMP on my Windows 7 machine and make a few Drupal sites to monkey around with ideas, take drupal7 for a spin, try new modules, and the most important...upgrading drupal practice... or is that recovering the whole site from a total meltdown?
I've installed Drupal a few times on my ISP virtualmachine and all were pretty easy as per the install.txt file. In WAMP 2.1, I've run into a problem. WAMP 2.1 is installed. WAMP seems to be working. So I created a database called drupal6, created a password drupal6, created a user drupal6 and it all lives on localhost.
I copied my drupal6.22 contents into wamp/www/test and copied default.settings.php to settings.php. I opened the settings.php file up and changed the all important line to
$db_url = 'mysql://drupal6:drupal6@http://localhost/drupal6';
Then, using the browser I go to localhost. It works. I go to localhost/test and get this Drupal error message:
Site offline / The mysql error was: php_network_getaddresses: getaddrinfo failed: No such host is known.
Did I forget to turn something on? It could be a mysql, apache, or php user error because I'm a nube with that stuff. My attempts at setting the db and other stuff up may be wrong but it seemed to work like other times I created a db on mysql.