Yes i did try this (mysql console). And there was no problem with it.
**************************************
Well I am on window 7, that cmd telnet is not available. it is only available on Windows xp and 2000... see http://www.computerhope.com/telnethl.htm
***********************************
I have tried turning off the firewall for 15 mins and repeated the process. But to my surprise, nothing changes.
here is my script for database connection.
<?php
$dsn = 'mysql:host=localhost;dbname=my_guitar_shop1';
$username = 'root';
$password = '';
try {
$db = new PDO($dsn, $username, $password);
} catch (PDOException $e) {
$error_message = $e->getMessage();
include('database_error.php');
exit();
}
?>