[ubuntu-za] MySQL

Morgan Collett morgan at penguinlabs.net
Fri Mar 30 18:37:34 BST 2007


(Resending - this seemed to not get through earlier today...)

Jason Norwood-Young wrote:
> On Thu, 2007-03-29 at 23:50 +0200, Gustav H Meyer wrote:
>> I also haven't specifically installed mysql but have the following
>> installed:
>>
>> $ aptitude search mysql|grep ^i
>> i   libmysqlclient15off             - mysql database client library
>> i   mysql-common                    - mysql database common files (e.g.
>>
>> Don't know why. Yet. :)

I have mysql-server and other things installed which definitely depend
on the above. However, marking libmysqlclient15off for removal in
Synaptic shows me what depends on this package and would therefore be
removed.

One of the things that depends on libmysqlclient15off is libqt4-gui.
(That's strange - why would a GUI need to access a database? Anyway...)
I seem to have one package installed that depends on libqt4 stuff,
keepassx. (I use Gnome not KDE, otherwise I'm sure there would be more...)

> It just occurred to me that the easiest way to see if MySql is being
> used is just to check what databases are on there. You can log in from
> the command line (mysql -u root) and then list the databases (SHOW
> databases;).

mysql-server's not installed, so there won't be any databases.
mysql-client's not installed, so the mysql command won't be available.

> If nothing's there apart from the mysql database then I'd say it's safe
> to uninstall it.

Use synaptic, mark one of the packages for removal, and it will show you
what else it will remove. If there's anything in there you need, cancel.

If in doubt, post the list of packages it wants to remove and we can see
if there's anything critical.

Regards
Morgan




More information about the ubuntu-za mailing list