How to connect an Arduino and a WAMP server's MySQL database?
As gre_gor pointed out, it looks like your connecting to the wrong ip. 

Change:

IPAddress server_addr(192, 168, 1, 3); // IP of the MySQL *server* here


To:

IPAddress server_addr(192, 168, 1, 2); // IP of the MySQL *server* here