Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142235 - problem configuring mysql 4.1.20 in srvdir mode
Summary: problem configuring mysql 4.1.20 in srvdir mode
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: srvdir
  Show dependency tree
 
Reported: 2006-07-30 16:20 UTC by Christophe Guilloux
Modified: 2007-01-12 22:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Guilloux 2006-07-30 16:20:05 UTC
Access right when creating the path /srv/localhost/mysql is not correct. (mysql is my first "/srv" service)
"mysql" user can not access after a fresh install.
I have to make a chmod o+rx to /srv and /srv/localhost and /srv/localhost/mysql and after run emerge --config =dev-db/mysql-4.1.20
Comment 1 Christian Korff 2007-01-08 20:22:55 UTC
I can reproduce it too when it comes to /srv/localhost/mysql/
Before chmod o+rx to /srv/localhost/mysql I failed every time trying to create the basic database:
[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist


former emerge --config dev-db/mysql attempt:
...
 * Insert a password for the mysql 'root' user
 * Avoid ["'\_%] characters in the password
    >
 * Retype the password
    >

!!! ERROR: dev-db/mysql-5.0.26-r2 failed.
Call stack:
  ebuild.sh, line 1527:   Called pkg_config
  ebuild.sh, line 1255:   Called mysql_pkg_config
  mysql.eclass, line 871:   Called die

!!! MySQL databases not installed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2007-01-12 22:20:15 UTC
"srvdir" USE flag and support were removed, they caused too many problems, and had too few users and other ebuilds compatible with that format.
Best regards, CHTEKK.