Error while installing mysql on my ubuntu VM MAC machine
3 Answer(s)
Abhijit-Dezyre Support
May 11 2016 10:58 PM
Hi Rajesh,
Please check whether you system is properly connected to internet or not.
ping google.com
If you didn't receive the package from google and get the error as unknown host.
Please make changes to your network adapter and make sure it is successfully connected to internet.
If you are able to ping google.com successfully. Then try the following:
$ sudo apt-get update
$ sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-5.5 mysql-client-core-5.5
$ sudo rm -rf /etc/mysql /var/lib/mysql
$ sudo apt-get autoremove
$ sudo apt-get autoclean
$ sudo apt-get update
$ sudo apt-get install mysql-server
Hope this helps. Please let me know if this works for you or not.
Thanks
Raj
May 11 2016 11:49 PM
Thanks Abhijit.... the issue I found in MAC was with DNS server setup; even though I was able to pin google; it was giving same error for some reason. So I have removed my static IP setting and reverted to DHCP in /etc/network/interfaces. It worked !!!.
thanks for your response.
/Rajesh.