Call custom field using php

The answer is in your question:

<?php $index_title = get_post_meta( get_the_ID(), '_x_entry_alternate_index_title', true ) ?>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)