From the MySQL command line use the database your SQL file will be affecting.
use database;
To execute the file.
source /path-to-file/file.sql
I always forget this one.
Related posts:
From the MySQL command line use the database your SQL file will be affecting.
use database;
To execute the file.
source /path-to-file/file.sql
I always forget this one.
Related posts: