That's what the problem was with your attempt to uninstall mysql with yum remove. Your system isn't on the network, or isn't fully configured for the network. Start with getting network connectivity working such that you can do dig www.google.com and get a valid response (example below), then you should be able to use the wget command normally.
Example dig output:
$ dig www.google.com ; <<>> DiG 9.8.1 <<>> www.google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24890 ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 4, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.google.com. IN A ;; ANSWER SECTION: www.google.com. 136 IN A 74.125.131.147 www.google.com. 136 IN A 74.125.131.99 www.google.com. 136 IN A 74.125.131.103 www.google.com. 136 IN A 74.125.131.104 www.google.com. 136 IN A 74.125.131.105 www.google.com. 136 IN A 74.125.131.106 ;; AUTHORITY SECTION: google.com. 69743 IN NS ns4.google.com. google.com. 69743 IN NS ns1.google.com. google.com. 69743 IN NS ns2.google.com. google.com. 69743 IN NS ns3.google.com. ;; Query time: 5 msec ;; SERVER: 10.10.11.48#53(10.10.11.48) ;; WHEN: Tue May 27 14:20:30 2014 ;; MSG SIZE rcvd: 200