SQL File Upload to MySQL Server
Back up the old database files to a dump using mysqldump -u username -p database_name &gt; dump.sql then import the new sql file using mysql -u username -p database_name &lt; new_sql_file.sql.