I have a table with some text and text is greek letters, when i use sql tool and select the data from this table is showing correctly
Leaving this here for those who come to this site via Google because they have the same issue but use PDO instead (like me) - you should be fine with:
$dns = "mysqli:host=localhost;dbname=db_name";
$pdo = new PDO($dns, 'db_user', 'db_pass',
array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'));
$pdo->exec("SET CHARACTER SET 'utf8'");