mysql help please!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pamphage
    Confirmed User
    • Jan 2003
    • 3569

    #1

    mysql help please!

    how do i restore on top of a database with tables already in there?

    in ssh when i use mysql -u <username> -p<password> < backupfile i get crap like this:


    ERROR 1050 at line 11: Table 'TGP_cat' already exists

    i just wanna clear that database and start over!
    SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR.
    Unless your sig is for a GFY top banner sponsor, you may use a 624x80 instead of a 120x60.
    Let me repeat... A 120 x 60 button and no more that 3 lines of DEFAULT SIZE AND COLOR text.
  • juicylinks
    So Fucking Banned
    • Apr 2001
    • 122992

    #2
    drop the database

    Comment

    • benthompson
      Confirmed User
      • Mar 2002
      • 553

      #3
      in ssh type:

      drop database TGP_cat;
      mysql -u username -p < backupfile;
      No signature.. I am bored of the signatures aswell..

      Comment

      Working...