Lại Phương Thanh
New member
How do I run a SQL file in Linux terminal?
Answer
Please follow below steps.
Answer
Please follow below steps.
- Open Terminal and type mysql -u to Open the MySQL command line.
- Type the path of your mysql bin directory and press Enter.
- Paste your SQL file inside the bin folder of mysql server.
- Create a database in MySQL.
- Use that particular database where you want to import the SQL file.