SQL Access is enabled by default. You can configure these SQL Access settings in the elasticsearch.yml file.
elasticsearch.yml
xpack.sql.enabled
false