wen i was installling wordpress i found out i cant do anything with mysql and that i need to reinstall it
but how do i do that ?? i got really zero info about how to to it
.
Do someone know how to Reinstall it ?? ( I lost the password of it )
Your Pi is probably fine, but your root file system is corrupt...
NoGlow75 wrote: ↑Thu Jul 18, 2019 6:48 pmi was in the mode of doin that but >... even the network driver is not working( my raspberry is from 2016 )
i want to reinstall the holl ip but apache2 fail2ban is not really working with my ) ( and i did a custom DNS setup )
i have installed i n vmware so i allways can go back (snapshots)
That would be interesting as the Raspberry Pi 4B only has 4 cores.
Code: Select all
sudo apt-get install mysql-server php-mysql -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-server-10.0 ( dont work to )
Code: Select all
E: Package 'mysql-server' has no installation candidateNoGlow75 wrote: ↑Fri Jul 19, 2019 12:02 pmi reinstalled the raspberry ( Fun fact Myqsl not wanna work ) ( On my Linux server debain it works ) ( installing in Vm what runs Desktop version It works )
on my raspberry Pi with "Raspbian Buster Lite It" it dont want go install ??
sudo apt-get install mysql-server php-mysql -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-server-10.0 ( dont work to )
E: Package 'mysql-server' has no installation candidate
( the system is full up-to-date and runs Release date:2019-07-10 of
Raspbian Buster Lite)
i Tried more but i think i use the wrong command to install it
i just hate mysql![]()
![]()
*sensored*
Code: Select all
sudo apt update
sudo apt install mariadb-server-10.3 php-mysql
sudo rebootfruitoftheloom wrote: ↑Fri Jul 19, 2019 12:27 pmPerfect.NoGlow75 wrote: ↑Fri Jul 19, 2019 12:02 pmi reinstalled the raspberry ( Fun fact Myqsl not wanna work ) ( On my Linux server debain it works ) ( installing in Vm what runs Desktop version It works )
on my raspberry Pi with "Raspbian Buster Lite It" it dont want go install ??
sudo apt-get install mysql-server php-mysql -y
...
Regards you issue, running Raspbian Buster on your Raspberry Pi:
Code: Select all
sudo apt update sudo apt install mariadb-server-10.3 php-mysql sudo reboot
And mysql is a wonderful package once you get to know it. Served me well for many years. Try setting-up Oracle and dealing with its hideous schemas and crap if you want a real frustrating database experience.