You are not logged in.

#1 2012-02-26 15:59:39

igallart
Member
Registered: 2009-12-20
Posts: 61

[SOLVED] How delete all databases or config with pacman of mysql

One question, when you do pacman -Rsn mysql, /var/lib/mysql should also be deleted or not? I think that would have to be some option to do so, or I do not know.
Thanks

Last edited by igallart (2012-02-26 22:42:52)

Offline

#2 2012-02-26 16:31:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How delete all databases or config with pacman of mysql

/var/lib/mysql/ should be removed.
Is there anything in that directory?

Offline

#3 2012-02-26 16:32:37

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] How delete all databases or config with pacman of mysql

The MySQL databases afaik.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2012-02-26 16:35:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How delete all databases or config with pacman of mysql

.:B:. wrote:

The MySQL databases afaik.

If they are user-created, they have to be user-deleted as pacman doesn't touch such files.

Offline

#5 2012-02-26 16:38:41

igallart
Member
Registered: 2009-12-20
Posts: 61

Re: [SOLVED] How delete all databases or config with pacman of mysql

karol wrote:

/var/lib/mysql/ should be removed.
Is there anything in that directory?

Are databases and config files, it aren't deleted

Offline

#6 2012-02-26 16:42:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How delete all databases or config with pacman of mysql

Only files provided by the package will be removed: http://www.archlinux.org/packages/extra … sql/files/
If the app creates some configuration file after you use it (the file is not there when you install the package), this file will not be removed.

Offline

#7 2012-02-26 16:49:20

igallart
Member
Registered: 2009-12-20
Posts: 61

Re: [SOLVED] How delete all databases or config with pacman of mysql

karol wrote:

Only files provided by the package will be removed: http://www.archlinux.org/packages/extra … sql/files/
If the app creates some configuration file after you use it (the file is not there when you install the package), this file will not be removed.

Thanks by answered.

Offline

#8 2012-02-26 21:55:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How delete all databases or config with pacman of mysql

Please remember to mark the thread as solved.

Offline

Board footer

Powered by FluxBB