title: Unknown MySQL server host STARTING (0)
body: <p>I am putting the csv file content into the database. My script will first check if the csv file is present in a particular location, if yes it will be executed and tables will be updated. For this,I have kept below query in a file (6sql.sql) </p>
  
  <pre><code>LOAD DATA INFILE "($_GET["FileName"]) 
  INTO TABLE test.LoadedEmployee 
  FIELDS TERMINATED BY "," 
  ENCLOSED BY '' ESCAPED BY `\` 
  LINES TERMINATED BY "\r\n" STARTING BY '' 
  </code></pre>
  
  <p>(<code>$_GET["FileName"]</code>) will get the user input)</p>
  
  <p>&amp; from cmd prompt, I am trying to run cmd </p>
  
  <pre><code>mysql -u root -pdbase -hlocalhost -t -vvv -e "source C:\6sql.sql" 
  </code></pre>
  
  <p>But I am getting below error</p>
  
  <blockquote>
    <p>Error: ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'STARTING' (0)</p>
  </blockquote>