Gentoo Archives: gentoo-user

From: Kevin Philp <kevin.philp@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems with mysql 4.1 upgrade
Date: Mon, 07 Nov 2005 11:16:35
Message-Id: 4666f6f90511070307i7a98a513g@mail.gmail.com
In Reply to: Re: [gentoo-user] Problems with mysql 4.1 upgrade by Kevin Philp
1 I edited the my.cnf file and changed
2
3 innodb_log_file_size = 5M
4
5 to
6
7 innodb_log_file_size = 8M
8
9 and now it works again.
10
11 Kevin.
12
13
14 On 07/11/05, Kevin Philp <kevin.philp@×××××.com> wrote:
15 > I don't seem to have the log file you mention but this is in the
16 > mysqld.err file.
17 >
18 > /var/log/mysql/mysqld.err
19 > InnoDB: Error: log file ./ib_logfile0 is of different size 0 8388608 bytes
20 > InnoDB: than specified in the .cnf file 0 5242880 bytes!
21 > 051107 9:13:17 [ERROR] Can't init databases
22 > 051107 9:13:17 [ERROR] Aborting
23 >
24 > I did read that innodb was a use flag (its not in my make.conf) and
25 > emerge -pv mysql doesn't show it up.
26 >
27 > On 07/11/05, Catalin Trifu <catalin@××××××××××××.de> wrote:
28 > > Hi,
29 > >
30 > > What does the mysql log say ? /var/lib/mysql/host.err
31 > >
32 > > Catalin
33 > >
34 > >
35 > >
36 > > Kevin Philp wrote:
37 > > Last week I upgraded to mysql 4.1.14. I carefully followed every line
38 > > of the upgrade guide inlcuding the revdep-rebuild and at the end I had
39 > > a lovely new mysql 4.1 and all my databases had imported with no
40 > > problems, phpmyadmin also worked fine. Now....about a week later I
41 > > can't start mysql:
42 > >
43 > > /etc/init.d/mysql start - says mysql has already started but it hasn't
44 > > (ps aux | grep -i my* shows nothing)
45 > >
46 > > mysql shows
47 > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket
48 > > '/var/run/mysqld/mysqld.sock' (2)
49 > >
50 > > I have checked permissions on var/run/mysqld as recommended in another
51 > > post and they are correct. I am running out of ideas....anyone any
52 > > further ideas??
53 > >
54 > > Thanks
55 > >
56 > > Kevin.
57 > >
58 > >
59 > >
60 >
61
62 --
63 gentoo-user@g.o mailing list