- My Freespirits
- Freespirits Forum
- Main Forum
- English Section
- Mysql
- How to import large MySQL database via command line on CWP, VestaCP and Cpanel s
×
English Section!
We will be more than happy to help you with problems related to our services and products. Please feel free to write it down as clear as possible
We will be more than happy to help you with problems related to our services and products. Please feel free to write it down as clear as possible
How to import large MySQL database via command line on CWP, VestaCP and Cpanel s
- infogate
- Συντάκτης θέματος
- Αποσυνδεμένος
- Administrator
- Imagination is the beginning of creation
4 Χρόνια 1 Μήνας πριν #124
από infogate
The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal
How to import large MySQL database via command line on CWP, VestaCP and Cpanel s δημιουργήθηκε από infogate
In this tutorial we’ll learn how to import large mysql databases via ssh terminal command line interface. Large mysql database is the issue when you import it via phpMyAdmin and its limit for uploading is lower then your initial mysql db size. In this case we need to import that database via command line – ssh or terminal.
It is always recommended to import database via mysql command line because it is easy and give less overhead like corrupted tables etc.
I always do mysql databases export and import via command line only.
Follow the below commands to import mysql database:
example usage of this command suppose your database name is “blawp_db” and you’ve database backup named “wordpress_cms.sql” uploaded in “/home” dir.
then the command need to be used like :
if you’ve database archive you need to extract it before importing via upper command :
if your database is archived in zip eg : database.sql.zip
if your database is archived in gzip eg : database.sql.gz
if gunzip command doesn’t work install the package :-
For RHEL/Centos :
for Debian/Ubuntu :
It is always recommended to import database via mysql command line because it is easy and give less overhead like corrupted tables etc.
I always do mysql databases export and import via command line only.
Follow the below commands to import mysql database:
mysql database_name < database.sql
example usage of this command suppose your database name is “blawp_db” and you’ve database backup named “wordpress_cms.sql” uploaded in “/home” dir.
then the command need to be used like :
cd /home
mysql blawp_db < wordpress_cms.sql
if you’ve database archive you need to extract it before importing via upper command :
if your database is archived in zip eg : database.sql.zip
unzip database.sql.zip
if your database is archived in gzip eg : database.sql.gz
gunzip database.sql.gz
if gunzip command doesn’t work install the package :-
For RHEL/Centos :
yum -y install gzip gunzip
for Debian/Ubuntu :
apt-get install gzip gunzip
The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal
Παρακαλούμε Σύνδεση ή Δημιουργία λογαριασμού για να συμμετάσχετε στη συζήτηση.
- My Freespirits
- Freespirits Forum
- Main Forum
- English Section
- Mysql
- How to import large MySQL database via command line on CWP, VestaCP and Cpanel s
Χρόνος δημιουργίας σελίδας: 0.032 δευτερόλεπτα