Upload Large Database Table to Server

On May 30, 2010, in Fedora, LAMP, Mysql, Open Source, Tips, Tricks, by Sandeep Verma

Hits: 148  

Hello Friends,

Sometime we want to upload large database table to server but phpMyAdmin have limit to upload SQL large *.sql files..

When we create database table “svnlabs” from mysql admin server make 3 files “svnlabs.frm”, “svnlabs.MYD” and “svnlabs.MYI”

These files are located at “/var/lib/mysql/svnlabs”.. we can check this location by phpinfo.php

svnlabs-table

svnlabs-table

We can upload all these 3 files to server using ftp or rsync.

Here source location may be either Windows or Linux and destination may be both.

We can upload zip of all 3 files “svnlabs.frm”, “svnlabs.MYD” and “svnlabs.MYI” for the table “svnlabs” and after upload to server; we can unzip to mysql folder “/var/lib/mysql/svnlabs”.

As files successfully uploaded to online server we can check new table “svnlabs” from phpMyAdmin.

Keep up good work…. :)



Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...