Sorry if this is a very basic question, but I'm completely new to this side of the web and am completlely stuck on how to set up my system to use Drupal.

I've been following the instructions from the e-book at http://www.packtpub.com/article/open-source-cms-sample-ebook/oscms as this covers how to set up the whole development environment.

I've downloaded Apache2Triad and Drupal, and have created a database and granted priveledges to myself by using the command-line shell (I think that's what it's called).

However the guide next tells me load the database by typing in:

$> mysql -u drupal -p drupal <c:/apache2triad/htdocs/drupal-4.7.0/database/database.4.1.mysql

I've changed the first 'drupal' to give my username and the version number of drupal to say 6.2 instead of 4.7.0, but it's not recognising the command. Do I also need to change the name of the database.4.1 to something else?

Also, should I type in $> or is that what the prompt should already say?

Once again, I'm sorry if this is a stupid question but I don't really know where to go from here.

Karen

Comments

tm’s picture

don't think you have to do that part anymore, not since d5. have you seen the video at http://drupal.org/videocasts/installing-6 ? could be helpful.

mauror’s picture

You must use more recent instructions, the install process has changed in the last two major releases...

Start by taking a look at the Videocasts, like tm says... The official instructions are at http://drupal.org/getting-started/6/install

The command that you cannot execute is a command to create the tables into your newly created mysql database, starting with Drupal 5, this is no longer needed: you execute the install script and it creates all the tables.

I don't use Windows, but it seems that Apache2Triad installs phpmyadmin, then you can use it as long as it makes everything more simple and intuitive, so If you have phpMyAdmin, then use it:

* Select Privileges from the main menu
* Click on the link that says Add a new User
* Fill the first block (Login Information) with username, password and host (choose Local from the drop down menu)
* In the second block (Database for user), choose the option Create database with same name and grant all privileges
* Scroll down and click Go

Now you can point your browser to you drupal site, install.php automatically starts and you just have to follow its instructions...

KarenShe’s picture

Thanks for both of your replies. I'll have a try and let you know how I get on.

KarenShe’s picture

It's looking good so far.

The video you suggested, tm and your step by step advice on phpmyadmin really helped. A couple of questions I still have, is that I don't have a domain or anything else yet (I'm still trying to find a really good name that's not been taken).

I presume I can work offline without one for the moment? But does this mean I won't get any emails as I think you have to include your domain name in there? I just use a Yahoo account.

Thanks again for your sterling advice.

Karen

mauror’s picture

I am not sure I understand you correctly, anyway your drupal site can send emails even without an associated domain (for example with the Contact forms).