Dump importeren vanuit de shell

Pagina: 1
Acties:

  • Slagroom
  • Registratie: Juni 2001
  • Laatst online: 23-08 10:29
Hallo,

Ik heb een dump van 3,4 mb en die wil ik importeren in een database (MySQL) maar hoe kan ik dat bestandje importeren via de shell?

dit heb ik al geprobeerd:
mysqlimport --user=webcreativestats --password=******* webcreativestats /root/dump.sql

maar dan krijg ik deze fout:
mysqlimport: Error: Table 'webcreativestats.dump' doesn't exist, when using table: dump

Misschien doe ik het helemaal verkeerd maarja... wil iemand mij helpen?

  • dusty
  • Registratie: Mei 2000
  • Laatst online: 21-02 00:06

dusty

Celebrate Life!

<

Back In Black!
"Je moet haar alleen aan de ketting leggen" - MueR


  • Olaf van der Spek
  • Registratie: September 2000
  • Niet online
Staan de create table queries niet in de dump dan?

  • Arnim
  • Registratie: Juni 2001
  • Laatst online: 04-09 15:49
Op woensdag 16 januari 2002 10:41 schreef Monstar.nl het volgende:

dit heb ik al geprobeerd:
mysqlimport --user=webcreativestats --password=******* webcreativestats /root/dump.sql
Gebruik:
code:
1
mysql --user=username --password=******* dbname < /root/dump.sql

Team ColdFusion


Verwijderd

heel subtiel dusty

  • dusty
  • Registratie: Mei 2000
  • Laatst online: 21-02 00:06

dusty

Celebrate Life!

Op woensdag 16 januari 2002 11:11 schreef fladder het volgende:
heel subtiel dusty
Ja, Goed he :)

Back In Black!
"Je moet haar alleen aan de ketting leggen" - MueR

Pagina: 1