Hello all you DruPals! :)

I got a HUGE problem that I hope some of you can solve... PLEASE READ THIS! (^^,)

In school we got a technogic project, and we are going to make a website presenting our product.
I see no reasons going out to buy a domain, so therefore I want to use an "offline-domain", WAMP5 (wampserver). I have tried this with Joomla, just lying it in the "wampserver/www/"-folder, and then I could type "localhost/joomla" in the browser. Works perfect!

But the case is that I want to use Drupal (which I find MUCH MORE easy), and therefore I lay the drupal folder in "wampserver/www/"-folder, like with Joomla. I went editing "settings.php" writing "http://localhost/drupal", and then the "unable to connect to database server" site came.

As you know you need to make a MySQL database with a name, a user and a password. Then you need to activate this with phpMyAdmin. But I haven't done that, cause in Joomla it did it all automaticly, but in this you need to write the database name etc!

What do I do with this? We are going to show it in a week... Luckily I know how to use Drupal! I really hope for some quick answers and some helpful people, so we can present our product on Thursday next week, and probably get a good note too... ;)

Kind regards, Anthrazit

Comments

halfer’s picture

You will need to add your database credentials in the install script to continue. Read section two on this install page, which refers you to instructions that came within your tarball.

(PS - I tend to advise people not to put "urgent!" type messages in their post, as it often puts respondents off replying. Just my opinion!)

carlmcdade’s picture

You hosuld not have to do anything with settings.php Surfing to the directory where drupal lies should be enough. Wamp5 also has the localhost start page with links to each folder. Clicking on the Drupal link should bring up that installlation.

Hiveminds Magazine
http://www.hiveminds.co.uk
for web publishers and community builders CMS Demo Matrix
Coming soon!Drupal Support | Drupal Sweden

rszrama’s picture

With WAMP up and running, left click on the system tray icon... there will be an option on the menu to go to phpMyAdmin. From here, you will create a database. On the first page there's a text box where you can enter in the database name. Then, click on the home icon (the left of four) on the left sidebar. Now click on the priveleges menu item and create your drupal account w/ priveleges for the Drupal database. Then browse back to the Drupal installation and fill in the form with the appropriate details. Like someone else mentioned.. there's no need to edit settings.php any more.

... Unless you're using 4.7.6. Did you get Drupal 5.1?

----------------------
Current Drupal project: http://www.ubercart.org

Anthrazit’s picture

I actually use 4.7.6!

I am going to play a little with this, trying to make it help...

I thank a lot for the quick help! Really appreciate it!

Kind Regards, Anthrazit

rszrama’s picture

With 4.7.6, then, you'll have to manually import the database schema... not a big deal. Just create the table like I mentioned and then import the correct schema from the Drupal database directory. You'll have to setup the settings.php properly, too. You really should consider 5.0 if you're starting from scratch here. ; ) Any of the major modules you need are sure to have been ported..

----------------------
Current Drupal project: http://www.ubercart.org

satanas’s picture

Hi Anthrazit,

Just consider this when installing Drupal:

  • Make sure your login/password to the Database is correct.
  • Make sure that the user's privileges are set properly in the MySql database; for example
    Add host from which the Drupal user can connect to e.g. 'localhost' OR 'Your_IP_Address' OR 'FQDN'

    Also, if unsure, grant these privileges below to the Drupal user account:

  • SELECT
  • INSERT
  • UPDATE
  • DELETE
  • CREATE
  • DROP
  • REFERENCES
  • INDEX
  • ALTER
  • LOCK_TABLES
  • Hope this help,

    S.