The Graphic Design Shop is a full service provider of Website Design and Graphic Design. We would be happy to assist you with everything from web design and web development to Logo Design and Promotion. If you're in business, whether you need a website or a full corporate identity, The Graphic Design Shop can help you increase your company's visibility and improve its graphic image.

How to upload a database larger than 10mb on Media Temple

I recently had the task of uploading a database to my hosting account with Media Temple. Media Temple has a 10mb limit for uploading from phpMyAdmin, so in order to use a larger database, a tiny bit of code is required. This is how you do it…

1. Export your database from phpMyAdmin
2. Upload the exported database.sql file to the html directory of the site you are working on in your Media Temple account.
3. Open PuTTy and enter the IP address from your Media Temple account.
4. Enter username (e.g. serveradmin@yourdomain.com)
5. Enter password (you won’t see the password as you type it due to a security feature)
6. Go to the folder where you uploaded the database.sql file earlier in step 2 by typing cd /home/#####/domains/yourdomain.com/html/ (##### is the number assigned to your database account)
7. Enter the command that will populate the new database by typing mysql –u db##### –p db#####_newdatabasenameonlynosqlextension –h internal-db.s#####.gridserver.com < databaseimportingfrom.sql

And that’s it. Log-in to your account and open the phpMyAdmin to view your populated database.

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon
  • Twitter
  • Reddit
This entry was posted in Blog, Tutorials. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared.