Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2006
    Posts
    323

    SSH Database To MediaTempl GridService

    Hi all... I normally upload my db's through phpMyAdmin, but it's too big for the limit that phpMyAdmin and MediaTemple have. They told me I could ssh the database to the server via SSH. I have been able to access the server via SSH but that's about it... Anyone done this on MediaTemple's Grid Service?

  2. #2
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,842
    I imagine the only difference compared to other (single-server) hosts would be the need to specify a hostname:
    Code:
    mysql -uUSERNAME -p -hHOSTNAME DATABASENAME <database-backup-file.sql
    Replace the capitalized stuff with details from your control panel.
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  3. #3
    Join Date
    Oct 2006
    Posts
    323
    Hmmmm I get:

    -bash: database.sql: No such file or directory
    It's on the Desktop, do I need to point to it? Not even sure how to do that...

  4. #4
    Join Date
    Oct 2006
    Posts
    323
    Yea I tried every which way, just keeps giving me the same error...

  5. #5
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,842
    You need to upload the sql file to the server eg. using ftp...
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •