Jallix
Posts: 2
Joined: Sat Jan 11, 2020 4:17 pm

I cannot install Mysql on my Raspberry Pi 4

Sat Jan 11, 2020 4:35 pm

Hello,

I just bought a Raspberry Pi 4 and want to install a web server on it.
I managed to install Apache and PHP, but I have issues with Mysql.

When I write the command "sudo apt install mariadb-server php-mysql", I get many error messages like "temporary failure in name resolution".

I cannot access any websites from the browser, and when I try commands like : "ping router" I get a "temporary failure in name resolution" message, with "ping 8.8.8.8" I get "From 192.168.1.54 icmp_seq=1 Destination Host Unreachable" ...

Do you have any idea about what's wrong and how I can solve this issue ?

Thanks for your time !

User avatar
neilgl
Posts: 1252
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: I cannot install Mysql on my Raspberry Pi 4

Sun Jan 12, 2020 12:19 am

It looks like you do not have a connection to the internet.

Jallix
Posts: 2
Joined: Sat Jan 11, 2020 4:17 pm

Re: I cannot install Mysql on my Raspberry Pi 4

Thu Jan 16, 2020 4:15 pm

Hi neilgl,

Sorry for the late reply, I didn't have time to go back to this topic earlier. I turned my Raspberry Pi on today and my ping tests were giving positive results. I tried again to install Mysql and this time it worked, you were right !

Thank you so much for your time !

Return to “Beginners”