I have a 3 huge 5GB .sql files which I need to upload to my server so I can process it. Its too large to run on my computer so I can’t process the information offline.
So the question, How can I upload a huge 5GB sql file to MySql server without using PHP because its upload limit is 2MB.
The MySql is hosted on a remote server miles away so I can’t just plug it in but I have turned remote access on which should be of some help.
All ideas welcome.
Thank-you for your time
Paul
You cannot use PHP to import such huge files. You need to use command prompt to do so. If you have access to the server then it’s quite easy to do so. You can login to the server through
SecureCRT(paid) orputty(free).Use this command to import the sql database to the server – Using IP Address
OR – Using hostname
If you wanna try it out locally first to get used to the command prompt. You can use this.