Gentoo Archives: gentoo-user

From: James Ausmus <james.ausmus@×××××.com>
To: gentoo-user@l.g.o, Mark Knecht <markknecht@×××××.com>
Subject: Re: [gentoo-user] mysql update questions
Date: Mon, 21 Nov 2005 20:42:27
Message-Id: b79f23070511211028r6c905d8dt93f65ebb2f6e989@mail.gmail.com
In Reply to: [gentoo-user] mysql update questions by Mark Knecht
1 If you want painless, then don't upgrade to MySQL 5.X when using
2 MythTV - the DB schema that MythTV uses has a table with a column
3 named repeat (I believe, I'm not sitting in front of my Myth box),
4 which, as of MySQL 5.X, is a reserved word, so the Myth back-end setup
5 won't be able to create that table, which leads to all sorts of
6 unpleasant Myth-not-working-ness. You can work around this by
7 modifying the column name that the table creates/uses (haven't done
8 this myself, don't know how many Myth places you would need to touch,
9 so not sure how pain{full,less} that would be, but I have seen reports
10 of others doing it), or you can just not upgrade to 5.X.
11
12 Out of curiousity, why are you looking to upgrade MySQL?
13
14 -James
15
16
17 On 11/18/05, Mark Knecht <markknecht@×××××.com> wrote:
18 > Hi,
19 > What are my options? This mysql thing has been hanging out for a
20 > long time. I was scared off by two things:
21 >
22 > 1) I run MythTV which uses mysql. I have a database on my server (this
23 > machine) that I'm worried about losing or messing up.
24 >
25 > 2) I *think* that if I update this server then I have to update all of
26 > my MythTV frontend boxes also as I've heard that Myth required both
27 > the frontend and the backend to run the same versions.
28 >
29 > Does anyone have direct experience with this? I'm sort of worried
30 > about creating problems that take days (or longer) to fix.
31 >
32 > Thanks,
33 > Mark
34 >
35 > dragonfly ~ # cat /etc/portage/package.mask
36 > >x11-drivers/ati-drivers-8.12.10
37 > #>media-tv/ivtv-0.2.0_rc3-r4
38 > <=dev-db/mysql-4.1.14
39 > dragonfly ~ #
40 >
41 > dragonfly ~ # emerge -pv --deep --update mplayer
42 >
43 > These are the packages that I would merge, in order:
44 >
45 > Calculating dependencies /
46 > !!! All ebuilds that could satisfy "dev-db/mysql" have been masked.
47 > !!! One of the following masked packages is required to complete your request:
48 > - dev-db/mysql-4.1.15 (masked by: ~x86 keyword)
49 > - dev-db/mysql-4.1.14 (masked by: package.mask)
50 > - dev-db/mysql-5.0.13_rc (masked by: ~x86 keyword)
51 > - dev-db/mysql-4.1.15-r30 (masked by: -* keyword)
52 > - dev-db/mysql-3.23.58-r1 (masked by: package.mask)
53 > - dev-db/mysql-5.0.15-r30 (masked by: -* keyword)
54 > - dev-db/mysql-4.0.26 (masked by: package.mask, ~x86 keyword)
55 > - dev-db/mysql-4.0.26-r30 (masked by: package.mask, -* keyword)
56 > - dev-db/mysql-5.0.15 (masked by: ~x86 keyword)
57 > - dev-db/mysql-4.0.25-r2 (masked by: package.mask)
58 >
59 > For more information, see MASKED PACKAGES section in the emerge man page or
60 > section 2.2 "Software Availability" in the Gentoo Handbook.
61 > !!! (dependency required by "net-fs/samba-3.0.14a-r2" [ebuild])
62 >
63 > dragonfly ~ #
64 >
65 > --
66 > gentoo-user@g.o mailing list
67 >
68 >
69
70 --
71 gentoo-user@g.o mailing list