2006/6/2, Chad Leigh -- Shire.Net LLC <[EMAIL PROTECTED]>:
I set up a box to run asterisk and try various asterisk front ends
on.  This was back in January.  I got gentoo installed and emerged
apache2, php5, and mysql.

In trying to set up mysql I do the following  /usr/bin/mysql_install_db

# ./mysql_install_db
Installing all prepared tables
ERROR: 1  Can't create/write to file '/var/lib/mysql/mysql/
db.MYI' (Errcode: 13)
ERROR: 1146  Table 'mysql.db' doesn't exist
ERROR: 1146  Table ' mysql.db' doesn't exist
ERROR: 1  Can't create/write to file '/var/lib/mysql/mysql/
host.MYI' (Errcode: 13)
ERROR: 1  Can't create/write to file '/var/lib/mysql/mysql/
user.MYI' (Errcode: 13)
ERROR: 1146  Table ' mysql.user' doesn't exist
ERROR: 1146  Table 'mysql.user' doesn't exist
ERROR: 1146  Table 'mysql.user' doesn't exist
ERROR: 1146  Table 'mysql.user' doesn't exist
blah
blah
blah

The directory /var/lib/mysql and all its children are owned by
mysql:mysql and I even changed the permissions to 777 on /var/lib/
mysql and /var/lib/mysql/mysql .  I don't have a clue what is going
on.  I have run mysql a bunch on FreeBSD but this is the first time
on gentoo.

try $emerge --config =dev-db/mysql-<your_version>

--
regards, Hegai Ilya

Reply via email to