Error message came out when I try to access new vps server :
$ mysql -ubox-p -h box.rasyid.net
Enter password:
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘box.rasyid.net’ (61)
Edit my.cf file :
# nano /etc/mysql/my.cnf
find this line :
bind-address          = 127.0.0.1
add # in the front into
#bind-address          = 127.0.0.1
save and restart mysql.
Re try again :
$ mysql -ubox -p -h box.rasyid.net
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 50
Server version: 5.0.75-0ubuntu10.2 (Ubuntu)
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql>