Uninstall or delete MariaDB completely for re-installation

I am new to this forum so pse forgive me if I am asking a question which already has been answered. But I have searched extensively whithout finding an answer. So here goes: I am installing WordPress on a Synology Server and have installed Maria DB in the process. But somehow I have messed the installation up. If I try to login I get a screen where I can reset my password or delete the database, but none of the options give any result. I have tried to delete the database with phpMyAdmin byt may only delete the test DB. An uninstall will be preferred, but I am prepared to delete via Linux (Ubuntu), but I am not sure where the files are to be found. Obviously I have no data to lose. Your help will be much appreciated. Best regards Eigil Winkel

Answer Answered by Faustin Lammler in this comment.

Hi, I am not sure what platform you are working on (ubuntu or synology or both)?

If you are using ubuntu, I suggest you to use the apt-get command to remove the database package, for instance:

 $ sudo apt-get purge mariadb-server 

You may check which mariadb packages are installed with:

 $ sudo dpkg -l | grep mariadb 

Ubuntu documentation for apt-get: https://help.ubuntu.com/community/AptGet/Howto

Regards, Faustin

Comments

 
3 years, 8 months ago Bruno GAUDINAT

I uninstall (apt purge) MariaDB completely and my update (Ubuntu 18.04 LTS bionic) still give :N: Le fichier configuré « main/binary-i386/Packages » ne sera pas pris en compte car le dépôt « http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntubionic InRelease » ne prend pas en charge l'architecture « i386 » N: Le fichier configuré « main/binary-i386/Packages » ne sera pas pris en compte car le dépôt « http://downloads.mariadb.com/Tools/ubuntubionic InRelease » ne prend pas en charge l'architecture « i386 » N: Le fichier configuré « main/binary-i386/Packages » ne sera pas pris en compte car le dépôt « https://updates.atomicorp.com/channels/atomic/ubuntubionic InRelease » ne prend pas en charge l'architecture « i386 »Can i have some help ?

 
 
 
4 years, 11 months ago Faustin Lammler

Hi, I am not sure what platform you are working on (ubuntu or synology or both)?

If you are using ubuntu, I suggest you to use the apt-get command to remove the database package, for instance:

 $ sudo apt-get purge mariadb-server 

You may check which mariadb packages are installed with:

 $ sudo dpkg -l | grep mariadb 

Ubuntu documentation for apt-get: https://help.ubuntu.com/community/AptGet/Howto

Regards, Faustin

 
 
 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.
posted @ 2024-01-05 09:06  牧之丨  阅读(9)  评论(0编辑  收藏  举报