Answer the question
In order to leave comments, you need to log in
Where to dig when hanging when importing a database?
After command
mysql -u username -p -h localhost newdb < olddb.sql
Answer the question
In order to leave comments, you need to log in
open another ssh session,
run mysqladmin pr, or if the first one doesn't work, then in the mysql console, the show processlist command;
there will be the status of current requests, etc. if the dump is being filled for a long time, you will see something like INSERT VALUES blah blah blah
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question