LMSouq
database Open

Importing large sql file to MySql via command line

US
user2028856
1 month ago
3 views
Problem Description
I'm trying to import an sql file of around 300MB to MySql via command line in Ubuntu. I used source /var/www/myfile.sql; Right now it's displaying a seemingly infinite rows of: Query OK, 1 row affected (0.03 sec) However it's been running a little while now. I've not imported a file this large before so I just want to know whether this is normal, if the process stalls or has some errors, will this show up in command line or will this process go on indefinitely? Thanks

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base