How to ping an IP address

You can not simply ping in Java as it relies on ICMP, which is sadly not supported in Java http://mindprod.com/jgloss/ping.html Use sockets instead Hope it helps

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