Skip to content
possible problem:
- wrong port, if you use a Java or Scala client, correct port is
9300, not 9200
- wrong cluster name, make sure the cluster name you set in your code is the same as the cluster.name you set in
$ES_HOME/config/elasticsearch.yml
- the sniff option, set
client.transport.sniff to be true but can’t connect to all nodes of ES cluster will cause this problem too. ES doc here explained why.
Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)