I've searched in the forums for this answer and can't find it.
Trying to install Drupal 4.5.2
My environment is a
- virtual private server hosted by websitesource
- Redhat 9
- PHP4.2.2
- MySQL Server 3.23
- root / shell access
- HSP Control Panel
- - with database management (add database, change root pw, add database users, & Upload MySQL Dump File)
- - with phpMyAdmin
With this hosting service and environment, I'm trying to perform the installation as it is documented.
So I did this...
1) created a folder named 'drupal' within html directory and uploaded all unzipped files into it
2) created a database called 'drupal' using the add database function
- - the username is 'drupaladmin' & the password is 'abcde' (for this discussion)
3) I log on to shell as root and execute this...
$ mysql -u drupaladmin -p
4) Within mysql, I execute this...
mysql> GRANT ALL PRIVILEGES ON drupal.* TO drupaladmin IDENTIFIED BY 'abcde';
5) Within mysql, I execute this...
mysql> mysql -u drupaladmin -p drupal
RESPONSE
ERROR 1064: You have an error in your SQL syntax near 'mysql -u drupaladmin -p drupal
So, I figure that the intent here is to load the tables into the drupal database. My control panel supports this. So I go there and...
Upload MySQL Dump File (pointing to drupal-4.5.2\database\database.mysql on my local PC)