Gentoo Archives: gentoo-user

From: "Chad Leigh -- Shire.Net LLC" <chad@×××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] newly emerged mysql problems
Date: Fri, 02 Jun 2006 06:04:42
Message-Id: 924C0DF5-D088-42DF-BEF8-82A41C669E00@shire.net
1 I set up a box to run asterisk and try various asterisk front ends
2 on. This was back in January. I got gentoo installed and emerged
3 apache2, php5, and mysql.
4
5 In trying to set up mysql I do the following /usr/bin/mysql_install_db
6
7 # ./mysql_install_db
8 Installing all prepared tables
9 ERROR: 1 Can't create/write to file '/var/lib/mysql/mysql/
10 db.MYI' (Errcode: 13)
11 ERROR: 1146 Table 'mysql.db' doesn't exist
12 ERROR: 1146 Table 'mysql.db' doesn't exist
13 ERROR: 1 Can't create/write to file '/var/lib/mysql/mysql/
14 host.MYI' (Errcode: 13)
15 ERROR: 1 Can't create/write to file '/var/lib/mysql/mysql/
16 user.MYI' (Errcode: 13)
17 ERROR: 1146 Table 'mysql.user' doesn't exist
18 ERROR: 1146 Table 'mysql.user' doesn't exist
19 ERROR: 1146 Table 'mysql.user' doesn't exist
20 ERROR: 1146 Table 'mysql.user' doesn't exist
21 blah
22 blah
23 blah
24
25 The directory /var/lib/mysql and all its children are owned by
26 mysql:mysql and I even changed the permissions to 777 on /var/lib/
27 mysql and /var/lib/mysql/mysql . I don't have a clue what is going
28 on. I have run mysql a bunch on FreeBSD but this is the first time
29 on gentoo.
30
31 Any ideas or hints are appreciated.
32
33 Thanks
34 Chad
35
36
37 ---
38 Chad Leigh -- Shire.Net LLC
39 Your Web App and Email hosting provider
40 chad at shire.net
41
42
43
44 --
45 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] newly emerged mysql problems Ilya Hegai <vyacheslavovich@×××××.com>