I am trying to import a csv file directly into Google Cloud SQL using the command below.
LOAD DATA LOCAL INFILE \"gs:/zuds/stg/ems/product_offering_fact/0000
Unsupported MySQL statements: Sending any of the following types of SQL statements will generate an error with the message "Error 1290: The MySQL server is running with the google option so it cannot execute this statement"
LOAD DATA INFILE Note: LOAD DATA LOCAL INFILE is supported. SELECT ... INTO OUTFILE SELECT ... INTO DUMPFILE INSTALL PLUGIN ... UNINSTALL PLUGIN CREATE FUNCTION ... SONAME ...
https://cloud.google.com/sql/faq#supportmysqlfeatures
Additionally, the mysql command line will not understand a gs:// file reference.
Cloud SQL doesn't support running LOAD DATA LOCAL INFILE with "gs://" path. From the UI, as the doc suggests, only comma delimited files are supported at this point. Here are two workarounds: