1 |
2006/6/2, Chad Leigh -- Shire.Net LLC <chad@×××××.net>: |
2 |
> |
3 |
> I set up a box to run asterisk and try various asterisk front ends |
4 |
> on. This was back in January. I got gentoo installed and emerged |
5 |
> apache2, php5, and mysql. |
6 |
> |
7 |
> In trying to set up mysql I do the following /usr/bin/mysql_install_db |
8 |
> |
9 |
> # ./mysql_install_db |
10 |
> Installing all prepared tables |
11 |
> ERROR: 1 Can't create/write to file '/var/lib/mysql/mysql/ |
12 |
> db.MYI' (Errcode: 13) |
13 |
> ERROR: 1146 Table 'mysql.db' doesn't exist |
14 |
> ERROR: 1146 Table 'mysql.db' doesn't exist |
15 |
> ERROR: 1 Can't create/write to file '/var/lib/mysql/mysql/ |
16 |
> host.MYI' (Errcode: 13) |
17 |
> ERROR: 1 Can't create/write to file '/var/lib/mysql/mysql/ |
18 |
> user.MYI' (Errcode: 13) |
19 |
> ERROR: 1146 Table 'mysql.user' doesn't exist |
20 |
> ERROR: 1146 Table 'mysql.user' doesn't exist |
21 |
> ERROR: 1146 Table 'mysql.user' doesn't exist |
22 |
> ERROR: 1146 Table 'mysql.user' doesn't exist |
23 |
> blah |
24 |
> blah |
25 |
> blah |
26 |
> |
27 |
> The directory /var/lib/mysql and all its children are owned by |
28 |
> mysql:mysql and I even changed the permissions to 777 on /var/lib/ |
29 |
> mysql and /var/lib/mysql/mysql . I don't have a clue what is going |
30 |
> on. I have run mysql a bunch on FreeBSD but this is the first time |
31 |
> on gentoo. |
32 |
> |
33 |
|
34 |
try $emerge --config =dev-db/mysql-<your_version> |
35 |
|
36 |
-- |
37 |
regards, Hegai Ilya |