Skip to content


MySQL cli import sql files

A note for myself since I keep forgetting it and have to dig for it everytime…

To open a sql file within the mysql client for import, use:

\. file.sql

Posted in Database. Tagged with , , .