query using wpdb in wordpress gets me no result

First of all, you escape that query incorrectly… You should use esc_like on the like part and prepare should be used a little bit different:

$title1 = 'Gocomma 10W QI Wireless Fast Charger Car Mount Holder - 2pcs (it)';
$sql = $wpdb->prepare(
           "SELECT * FROM {$wpdb->posts} WHERE post_title LIKE %s AND post_status="publish"",
           '%' . $wpdb->esc_like($title1) . '%'
       );
$post_if = $wpdb->get_results( $sql );

But there is one more problem with this approach. There is a chance that the - character gets converted in some other character (like – dash) and so on.

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