I have more then 10 GB data in the one table. I want to upload the 10 GB data in only single table. Is this possible to upload the 10 GB data using the SSH ? If no then how many maximum data upload in one time in one table using the SSH.
Please...
Thank You.
upload the database file to your server and import it via the mysql command
eg
mysql -h HOSTNAME -u USERNAME -p DATABASENAME < file.sql
and enter the password when promoted
where...
HOSTNAME = localhost/127.0.0.1/etc...
USERNAME = DB User
DATABASENAME = name of the database you are importing into
You can see the another solutions For BLUE HOST SERVER
Using SSH to import your MySQL database
The file must be in .sql format. It can not be compressed in a .zip or .tar.gz file.
Type this this command:
mysql -p -u username database_name < file.sql
OR
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.