From: James Ausmus <james.ausmus@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.
Date: Tue, 17 Nov 2009 14:17:43 -0800 [thread overview]
Message-ID: <b79f23070911171417r780da855y1a0246266c25457c@mail.gmail.com> (raw)
In-Reply-To: <4B031B3D.7040008@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3023 bytes --]
On Tue, Nov 17, 2009 at 1:53 PM, Dale <rdalek1967@gmail.com> wrote:
> Hi,
>
> KDE 4 was having "issues" with sqlite not working correctly. After reading
> about and people telling me that mySql works better, I installed mySql. Its
> big and all but at least it works. Anyway, I changed the USE flags and have
> -sqlite in my USE flag line. I want to get rid of sqlite on here. I see no
> need for me to have two of these installed at the same time. Here is what
> depends on sqlite:
>
> root@smoker / # equery depends sqlite
> [ Searching for packages depending on sqlite... ]
> app-pda/libopensync-0.22 (>=dev-db/sqlite-3)
> app-portage/eix-0.17.0 (sqlite? >=dev-db/sqlite-3)
> dev-lang/python-2.6.2-r1 (!build & sqlite? >=dev-db/sqlite-3)
> dev-lang/python-3.1.1-r1 (!build & sqlite? >=dev-db/sqlite-3)
> dev-libs/apr-util-1.3.9 (sqlite? dev-db/sqlite:0)
> (sqlite3? dev-db/sqlite:3)
> dev-libs/cyrus-sasl-2.1.23-r1 (sqlite? dev-db/sqlite)
> dev-libs/nspr-4.8 (>=dev-db/sqlite-3.5)
> dev-libs/nss-3.12.3-r1 (>=dev-db/sqlite-3.5)
> dev-libs/redland-1.0.9-r1 (sqlite? =dev-db/sqlite-3*)
> dev-util/subversion-1.6.5 (>=dev-db/sqlite-3.4[threadsafe])
> kde-base/kget-4.3.3 (sqlite? dev-db/sqlite:3)
> kde-base/kopete-4.3.3 (statistics? dev-db/sqlite:3)
> media-libs/libsndfile-1.0.20 (sqlite? >=dev-db/sqlite-3.2)
> net-im/pidgin-2.6.3 (prediction? =dev-db/sqlite-3*)
> net-libs/webkit-gtk-1.1.10 (>=dev-db/sqlite-3)
> net-libs/xulrunner-1.9.1.4 (sqlite? >=dev-db/sqlite-3.6.16)
> www-client/mozilla-firefox-3.5.4 (sqlite? >=dev-db/sqlite-3.6.10)
> x11-libs/qt-sql-4.5.3 (sqlite? dev-db/sqlite:3)
> root@smoker / #
>
> Those appear to be in the ebuild and MySql is not a option for replacement.
> Is there a way? I have already emerged these with the -sqlite and +mysql
> USE flag. I notice something about sqlite3 in one of the ebuilds. What is
> that?
>
> Ideas?
>
>
Unfortunately, MySQL is not a drop-in replacement for sqlite - the
programming APIs and DB capabilities are sufficiently different to not be
able to "just replace one with the other" - the developer has to add in
extra code/abstraction in order to be able to support one or the other or
both.
As far as sqlite vs. sqlite3, the more recent major version of sqlite
(sqlite-3.*) broke backwards compatibility with <=sqlite-2.*, and has, once
again, a different programming API and different DB capabilities - some
packages might still only be able to use <sqlite-3, some might be able to
use either (hence the sqlite vs. sqlite3 USE flags), and some might only be
able to use >=sqlite-3.*. If you look at the package list above, you'll see
that pretty much all of them require some version of sqlite-3, and the only
one that can optionally do either has the USE flag split out into sqlite
(for the <sqlite-3 version) and sqlite-3 - I would guess w/o looking at the
ebuild that sqlite-3 takes precedence if both are set, as it's a better and
more robust DB system than the older sqlite.
HTH-
-James
> Dale
>
> :-) :-)
>
[-- Attachment #2: Type: text/html, Size: 3847 bytes --]
next prev parent reply other threads:[~2009-11-17 22:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-17 21:53 [gentoo-user] MySql versus sqlite. Don't want sqlite anymore Dale
2009-11-17 22:04 ` Alan McKinnon
2009-11-17 22:22 ` Dale
2009-11-17 22:58 ` Alan McKinnon
2009-11-17 23:41 ` Dale
2009-11-18 3:17 ` Albert Hopkins
2009-11-18 5:49 ` Dale
2009-11-18 7:09 ` Alan McKinnon
2009-11-18 9:09 ` Neil Bothwick
2009-11-18 10:22 ` Dale
2009-11-17 22:17 ` James Ausmus [this message]
2009-11-18 2:28 ` Dale
2009-11-17 23:04 ` equery depends vs. emerge -pv --depclean <atom> (was: Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.) Daniel Pielmeier
2009-11-17 23:53 ` [gentoo-user] Re: equery depends vs. emerge -pv --depclean <atom> Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b79f23070911171417r780da855y1a0246266c25457c@mail.gmail.com \
--to=james.ausmus@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox