i have been trying to set up drupal, have tried variants of the following command but cannot get it to work, always generates the same error...

mysql -u jnv -p jnv -h db1.int < database4.0.mysql;

ERROR 1064: You have an error in your SQL syntax near 'mysql -u jnv -p jnv -h db1.int < database4.0.mysql' at line 1

i cant see an error in what i have typed so i suspect the error is within the file database4.0.mysql which i'm guessing i need to edit for my setup - can anyone sugest how?

alternatively i just dont have appropriate permission to execute the comand but since its a syntax error i suspect this is not the case.

applogies as i suspect this question has already been answered in the archive but i cannot find it - any links to any previous answers appreciated.

Benjamin.

Drupal version : drupal-4.7.2.tar.gz
mySQL version: 3.23.58
PHP version: v4 interpreter
(this is not mod_php see: http://www.mythic-beasts.com/support/topic_php.html)
web host : mythic-beasts.com
database server: -h db1.int
database : jnv
database username : jnv

Comments

thaing’s picture

Look like you forgot the database's name

mysql -u jnv -p jnv -h db1.int jnv < database4.0.mysql;

__(?)__