Why MYSQL? How can I remove it.

Every time I try to install OpenSuse, I am always freakin’ amazed at how much **** is turned on by default. How do I get a bare-bones installation so I can can install my own java, my own eclipse, etc.

With 11.3 I look specifically for Apache, Tomcat, Java, etc. to make sure these things are not installed. It always seems one distro or another puts **** where it shouldn’t belong!!!

So imagine my surprise when I tried to install MySQL and it told me it was already there … right where I didn’t want it!!! You can also imagine my surprise when it wasn’t apparent that this app was part of the base installation. I guess I’ll have to double and triple check next time. Hey … can there be an option to install OpenSuse 11.3 barebones???

So, I tried to uninstall mysql with yast and it looks like it was gone …
but there is still **** left behind so now I can’t install MySQL, the one I want in the place I want!!! If anyone knows how I can get rid of the old MYSQL that came with the install, that would be very helpful.

If I don’t get a response, then I’ll try to do a complete re-install and I’ll look for mysql this time to make sure that doesn’t load. I just wonder what other surprises I’ll find.

Thanks!

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can remove it via YaST, or zypper, or whatever.

sudo zypper rm mysql-community-server #depending on package name

With that said, I built an OpenSUSE 11.3 x86_32 system last week and I
just checked… while I have some libraries for MySQL I do not have the
server on there so… what’d you choose to install that required MysQL?

OpenSUSE also does not install Tomcat/Apache by default, though it does
install the OpenJDK I believe for Java stuff. May be worth noting my
installs are Gnome-based so KDE installs may differ.

Good luck.

On 01/28/2011 01:06 PM, tjholmes66 wrote:
>
> Every time I try to install OpenSuse, I am always freakin’ amazed at how
> much **** is turned on by default. How do I get a bare-bones
> installation so I can can install my own java, my own eclipse, etc.
>
> With 11.3 I look specifically for Apache, Tomcat, Java, etc. to make
> sure these things are not installed. It always seems one distro or
> another puts **** where it shouldn’t belong!!!
>
> So imagine my surprise when I tried to install MySQL and it told me it
> was already there … right where I didn’t want it!!! You can also
> imagine my surprise when it wasn’t apparent that this app was part of
> the base installation. I guess I’ll have to double and triple check
> next time. Hey … can there be an option to install OpenSuse 11.3
> barebones???
>
> So, I tried to uninstall mysql with yast and it looks like it was gone
> …
> but there is still **** left behind so now I can’t install MySQL, the
> one I want in the place I want!!! If anyone knows how I can get rid
> of the old MYSQL that came with the install, that would be very
> helpful.
>
> If I don’t get a response, then I’ll try to do a complete re-install
> and I’ll look for mysql this time to make sure that doesn’t load. I
> just wonder what other surprises I’ll find.
>
> Thanks!
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIbBAEBAgAGBQJNQyZ/AAoJEF+XTK08PnB5TI4P+JETT5E80nvyUXpm361fRI8d
XKMumLoddz+2I8p8zrTiHLYK+eTrnuGXVG/cPLTsT4AM39f1qS3c+1jZRNnoiuoc
WB5MLART1z27l8z3dtDeFXtI9AIliwdYY9GaTnP4WB11mYNgzsnX1ZxTgvzQXh2z
ioRvCkkuKeQDBYkvVTLBaYTS9Ty6M8qmg96g+pKFdz/xZouUHd/rrFoxuoCp7NIw
8IhSdxLLPNqCndR1+3mPfAKvFNb9/tL4/cd9reQWf5fZYFk7emE3xF2vhEXccw+0
qqPkXcsmTILcPEbCFUNxKdQGlFiZ7Wnij7v4epZVIOne7L6uNlfxJ6z1Ppm/ZSzD
/VebVcgpBtAa/yfW5xqJ/3WQL0paqYhD7rZ8xQ1QCBdQtdcJH1PkimE4jbU4HOli
lDPovKNFLyWI981yWYaKWhgOm4MwxJh60zeVKpWq3qRFSSDEbPZLDdQ0NtccqjlY
VaiVm0Ksk6eYwHjMd8tEzFfEqH6uOlGYXL+ZTUmeskTO6FqG9h3ykfwhQu85ms3l
KzrPhL4I+F4lGLMXjN94NHRbtzHH7xG5Txz8da0JMxFgbWd1XTaPtTfCTV3g+Tfm
xvzgmWJK8vsQxN1tVpg4gLaypidjgYOutzhM+AJIvVIzcBtErqKhPXA6qMhB8SEy
J6Ww6R6OmBcwvM9N7w0=
=KLAq
-----END PGP SIGNATURE-----

On 01/28/2011 09:06 PM, tjholmes66 wrote:
>
> Every time I try to install OpenSuse, I am always freakin’ amazed at how
> much **** is turned on by default.
>
> If I don’t get a response

fat chance.

i installed openSUSE 11.3 on a new hard drive last week…allowed the
installer to make all the decisions (except, i decided to have a
user password and a root password, oh and i decided to have the
system use my non-english keyboard layout, oh and told it where i
live…everything else is exactly what it decided)…

guess what, no apache, no mysql, no tomcat, no java, no flash, no
codecs, no **** anywhere…

so, where did you get your install media? it wasn’t from
software.opensuse.org or you selected to add something which put
stuff where it belongs (on openSUSE)

delete the stuff you installed accidentally with YaST…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 11.3, KDE4.5.5
“release 1”, Thunderbird3.0.11,]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

MySQL is installed by dependencies with KDE, because of nepomuk, akonadi and other goodies or besties. If you want to install your own MySQL, don’t install KDE. As for Apache, Eclipse, Java, etc, you don’t have to install them - particularly Eclipse! Eclipse programmers usually don’t install Eclipse from repos - on any distro.

If you want to select what is installed, why not use Welcome – SUSE Studio rather than downloading a CD/DVD?

On 01/29/2011 08:06 AM, please try again wrote:
>
> MySQL is installed by dependencies with KDE

oh man! someone hand me a loaded gun, and i will aim at my foot!


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 11.3, KDE4.5.5
“release 1”, Thunderbird3.0.11,]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

so now I can’t install MySQL, the one I want in the place I want!

Why? You can even have several copies of MySQL side by side on your computer. Just make sure that they don’t use the same port and the same socket. And then - when you do not want to install the official package - be very careful what you install. Did you see how many patches the official package has to make it run smooth on your openSUSE distro?

I am sorry, but I like KDE much more than Gnome. I did see that MySQL Community Server was installed because 3-4 apps as you described used MySQL.
I think that is a brain-dead decision by the people who put OpenSuse together. Why would I want those other apps installed, and why would I want them to sue MySQL, why not Postgres???
That decision to install MySQL because of those apps is a bad idea in my opinion.

For those of you who said that MySQL was not installed, maybe you chose Gnome over KDE, I certainly chose KDE, actually that was selected by default.
I also got the Distro from the OpenSuse Download site, so it did come directly from the source and I burned the ISO.
This distro did not come from some outside foreign source.

To those of you who just suggest doing an uninstall with yast, or zypper, let me make it clear:
Yes, it did remove most of MySQL, BUT
No, it did not remove everything because after I uninstalled MySQL, I STILL could not install my new version of MySQL.
I could have looked into it more, but it was just faster to re-install my system and this time make sure that MySQL was not installed this time.
I did get my own MySQL loaded, and now it is working as I wanted it to.

Again … any distro, OpenSuse, that installs servers without making patently clear what is being installed is a bad idea.
I have known other distros in the past, not OpenSuse, that would install Apache, Tomcat, etc. without telling the user up front.
Anyway, I consider this a learning experience, and I got the issue resolved.

On 02/01/2011 01:36 PM, tjholmes66 wrote:
>
> I am sorry, but I like KDE much more than Gnome. I did see that MySQL
> Community Server was installed because 3-4 apps as you described used
> MySQL.
> I think that is a brain-dead decision by the people who put OpenSuse
> together. Why would I want those other apps installed, and why would I
> want them to sue MySQL, why not Postgres???
> That decision to install MySQL because of those apps is a bad idea in
> my opinion.
>
> For those of you who said that MySQL was not installed, maybe you chose
> Gnome over KDE, I certainly chose KDE, actually that was selected by
> default.
> I also got the Distro from the OpenSuse Download site, so it did come
> directly from the source and I burned the ISO.
> This distro did not come from some outside foreign source.
>
> To those of you who just suggest doing an uninstall with yast, or
> zypper, let me make it clear:
> Yes, it did remove most of MySQL, BUT
> No, it did not remove everything because after I uninstalled MySQL, I
> STILL could not install my new version of MySQL.
> I could have looked into it more, but it was just faster to re-install
> my system and this time make sure that MySQL was not installed this
> time.
> I did get my own MySQL loaded, and now it is working as I wanted it to.
>
> Again … any distro, OpenSuse, that installs servers without making
> patently clear what is being installed is a bad idea.
> I have known other distros in the past, not OpenSuse, that would
> install Apache, Tomcat, etc. without telling the user up front.
> Anyway, I consider this a learning experience, and I got the issue
> resolved.
>
>

you do know, don’t you that you had the chance to review in careful
detail all the packages the installer would move to your disk!

that said, i’m happy you got it the way you like it, and agree it
should always be delivered the way the userr like is…

the problem is, of course that the very next guy along will not want
it served up the way you like it…so, the devs (for good or for
bad) have to try to hit the sweet spot which keeps the largest
number of folks the happiest even if their decisions are considered
“brain dead” by a disgruntled minority…

however, they DID provide you the mechanism by which you CAN have it
your way, and the next guy have it his, and next gal hers…which you
proved the second time you installed…

an action you would have probably taken the first time had you not
assumed the devs knew what you wanted and decided that was in the
middle of the sweet spot…

as previously mentioned, i installed 11.3 last week and the default
install was nearly perfect for me…sorry it wasn’t for you…but,
that does NOT make the default package decision “brain dead”…


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

To make it clear: MySQL is now required by KDE4. This is not an openSUSE decision. You have MySQL installed with KDE on any Linux distro and if you don’t install a released Linux or use Unix, you have to build MySQL.

I totally agree on these two points.

  1. People should stop using MySQL and switch to PostgreSQL
  2. It is absurd for a window manager (sorry, a desktop environment) to rely on a database like MySQL or any other. After all, its role should be to draw buttons around windows and provide the desktop with a fancy Look & Feel.

I agree with second point. plasma-addons need mysql-community-server and I don’t know where can be useful, as a library at least, maybe a plasma app that need a local data store but still can use a file based database, like amarok. This is a bug o what??

Not only is it already there, but it is running (used by akonadi) and filling your disk with **** that you might not want.

I have not found a way of preventing akonadi from starting under KDE, even though I don’t use kmail or nepomuk.

On 2011-02-01 13:36, tjholmes66 wrote:
> To those of you who just suggest doing an uninstall with yast, or
> zypper, let me make it clear:
> Yes, it did remove most of MySQL, BUT
> No, it did not remove everything because after I uninstalled MySQL, I
> STILL could not install my new version of MySQL.

This is an old thread, but as it has come alive again, a comment:

This is intentional, and is not an openSUSE decision. It is standard rpm
behaviour. Configuration files are never removed. Which is a good thing.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

I believe that KDE use the MySQL lite version not the full MySQL package. It is used by akonadi et all for storing the information to find documents/files quickly.

Akonadi - Wikipedia, the free encyclopedia

On 04/22/2011 06:36 AM, nrickert wrote:
>
> filling your disk with **** that you might not want.
>
> I have not found a way of preventing akonadi from starting

have you tried uninstall?


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
A Penguin Being Tickled - http://www.youtube.com/watch?v=0GILA0rrR6w

That would probably work, though I haven’t tried it.

Another option is to edit “$HOME/.config/akonadi/akonadiserverrc”, look for the setting for “StartServer” and change from “true” to “false”. That doesn’t prevent akonadi from running, but it does tame it (prevent it from building databases).

Another option, one that I am considering, is to switch from KDE to XFCE. However, that change would actually be for other reasons.