DROP TABLE IF EXISTS `wp_options` error?
Check this ref. If you don’t have the database create instruction inside your script: CREATE DATABASE your_db; You need to manually do that. Else if you have the database: use this to select it first before executing the script. USE your_db;