Installing Drupal with phpMyadmin

colliny2k - June 19, 2006 - 02:17

I am brand new to this stuff, but would very much like to learn. At this point I am trying to get Drupal up and running.
So far I have
Downloaded Drupal 4.7.2 and uploaded it to my FTP account.

The next thing I believe I need to do is create the database. I have no idea how or what exactly to do here. I have the phpMyAdmin stuff up, but am lost from there. How do I upload drupal from phpMyAdmin? The only instructions I found were talking about Command Lines and I dont see any command lines in phpMyAdmin. So how do I do this?

Import with phpMyAdmin

douwef - June 19, 2006 - 02:22

If you have created the database then you can load the database configuration by Importing the file from the the Drupal/database directory. This file should still be on in your local directory where you uploaded the Drupal installation from.

Um, okay, I was trying to

colliny2k - June 19, 2006 - 02:32

Um, okay, I was trying to upload the .gz file before of the whole drupal thing. So this time I did just database.4.1.mysql. That seemed to work and now I've got all these things in the database. Is the correct?

Which file do I need to edit to link to my site with login/pass etc?

EDIT: nvm, I found it settings.php was just hiding from me.

yes you should be able

wellsy - June 19, 2006 - 02:34

to visit your site now at the url where it is installed.

You then need to create the first account.

wellsy

orchidsonline.com.au

Okay, now I'm a little

colliny2k - June 19, 2006 - 03:30

I currently have this: $db_url = 'mysql://colliny2k:MYPASSWORD@db4.awardspace.com/colliny2k_neo';

Does this look correct? Doesn't seem to be working cause I go to my site url and nothing appears.

This is how I put the above together:
I login to phpmyadmin with: colliny2k
my password for phpmyadmin: MYPASSWORD
at the phpmyadmin site it says at the top: MySQL 4.1.18-log running on db4.awardspace.com as colliny2k_neo@209.85.5.34
so I'm assuming the localhost is db4.awardspace.com.,.right?
database name: colliny2k_neo

Could work

dman - June 19, 2006 - 05:09

That's an assumption, a good one, but we can never be 100% depending on your hosting environment. The phpmyadmin gives a good clue, so it should be good.

Drupal 4.7 is pretty good at letting you know just what the problems are - it should be giving you useful error messages if it's not connecting.

You say "nothing" appears. Can you be more specific? Blank screen, Frozen browser, timeout? View source, is PHP even running in that directory?
Are you sure of your site URL and drupal (index.php) installation location?

And of course, look harder at all the instructions - all is answered there better than drip-feeding the process through the forum again.

.dan.

http://www.coders.co.nz/

well ya can see what I see

colliny2k - June 19, 2006 - 06:02

I found my answer, thanks everyone for helping. It had to do with restrictions of my host. I simply had to edit out a few lines in the htaccess file.

For future reference

dman - June 19, 2006 - 06:27

... would you care to share for those that come after you?
I'm guessing it was a "Directive Not Allowed Here" (since you say restrictions on your host), and that evidence could have been found in your apache error logs.

What did you end up changing? ... just for the knowlege base.

.dan.
http://www.coders.co.nz/

Sure, AwardSpace.com has

colliny2k - June 20, 2006 - 01:06

Sure,
AwardSpace.com has restrictions with their Free hosting service.

These commands are not allowed to be used in .htaccess file:

Code:
# Set some options.
Options -Indexes
Options +FollowSymLinks

# Customized error messages.
ErrorDocument 404 /index.php

As a result it would not work. So I had to Comment out those lines above. After doing so it worked.

Good-o

dman - June 20, 2006 - 08:56

Makes sense for a free hosting service.

I am trying to install

taron13 - November 13, 2006 - 04:52

I am trying to install Drupal with PHPMyAdmin.

I have pasted the code from the database.mysql file, but how do I create a user for the database?

I run WAMP locally, so I am now using the root user.

Also, how can I grant a user full priveleges?

The installation guide seems to be made for Unix, or something. How do I do this on Windows?

Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.