ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)

Note: For MySQL 5.7+ please see answer from @Lahiru to this question. That contains more current information. For MySQL < 5.7: The default root password is blank (i.e. empty string) not root. So you can just login as: You should obviously change your root password after installation In most cases you should also set up individual user accounts before working extensively … Read more

ping: google.com: Temporary failure in name resolution [closed]

I’ve faced the exactly same problem but I’ve fixed it with another approache. Using Ubuntu 18.04, first disable systemd-resolved service. sudo systemctl disable systemd-resolved.service Stop the service sudo systemctl stop systemd-resolved.service Then, remove the link to /run/systemd/resolve/stub-resolv.conf in /etc/resolv.conf sudo rm /etc/resolv.conf Add a manually created resolv.conf in /etc/ sudo vim /etc/resolv.conf Add your prefered DNS server there nameserver 208.67.222.222 I’ve tested this … Read more