openextreme < 'www/downloads/official_games_db.sql'
That's the line. I've tried it with and without quotes, double quotes, the full file path, just the file name, etc. I want official_games_db.sql (a table) imported into the database openextreme (which does exist). The file is good, as importing it through phpMyAdmin works flawlessly. But for various reasons, I'm looking to get it done through the command line.
I keep getting error 1064, syntax, but no real help beyond that. I've searched, and from what I can tell, I have it correct. I've tried it with and without semicolon at the end too. I'm at my wits end. Any and all help greatly appreciated.
Thank you in advance.
mysql -u username -p password openextreme < www/downloads/official_games_db.sql