You may have come across the following error:

ERROR 1273 (HY000) at line 200: Unknown collation: ‘utf8mb4_0900_ai_ci’

To solve this:

sed -i 's/utf8mb4_0900_ai_ci/utf8mb4_unicode_ci/g' /home/joel/myappointments/appointmentsdj.sql

Now you can import the sql safely.