input: Write a python function to read a CSV file and insert its contents into a MySQL database.
  assert insert_csv_to_mysql('data.csv', 'localhost', 'root', 'YOUR_PASSWORD_HERE', 'table', ['column_1', 'column_2']) == True
output: import csv
  import mysql.connector
  
  def insert_csv_to_mysql(file_path, host, user, password, table_name, columns):
      try:
          conn = mysql.connector.connect(
              host=host,
              user=user,
              password=password,
              database=table_name
          )
          cursor = conn.cursor()
  
          with open(file_path, 'r') as file:
              reader = csv.reader(file)
              for row in reader:
                  placeholders = ', '.join(['%s'] * len(row))
                  query = f"INSERT INTO {table_name} ({', '.join(columns)}) VALUES ({placeholders})"
                  cursor.execute(query, tuple(row))
  
          conn.commit()
          cursor.close()
          conn.close()
          return True
      except Exception as e:
          print(f"Error: {e}")
          return False