Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
can u tell me how to import a 30mb of sql file in mysql.I am using ubuntu.
You have to run the following command
mysql -u <user> -p<password> dbname < filename.sql
Another alternate is also a command
log in to mysql using mysql -u <user> -p
mysql -u <user> -p
mysql > use db_name; mysql > source filename.sql;
Add a comment
Use BigDump.php
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.