Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 252909 Details for
Bug 339371
emerge --config mysql fails on prefix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for the eclass
mysql.eclass-prefix.patch (text/plain), 1.23 KB, created by
Thomas Burkard
on 2010-11-02 15:04:06 UTC
(
hide
)
Description:
patch for the eclass
Filename:
MIME Type:
Creator:
Thomas Burkard
Created:
2010-11-02 15:04:06 UTC
Size:
1.23 KB
patch
obsolete
>--- mysql.eclass.ori 2010-11-02 15:29:58.660885716 +0100 >+++ mysql.eclass 2010-11-02 15:33:54.205880258 +0100 >@@ -1318,7 +1318,7 @@ > popd &>/dev/null > [[ -f "${EROOT}/${MY_DATADIR}/mysql/user.frm" ]] \ > || die "MySQL databases not installed" >- chown -R mysql:mysql "${EROOT}/${MY_DATADIR}" 2>/dev/null >+ use prefix || chown -R mysql:mysql "${EROOT}/${MY_DATADIR}" 2>/dev/null > chmod 0750 "${EROOT}/${MY_DATADIR}" 2>/dev/null > > # Figure out which options we need to disable to do the setup >@@ -1354,7 +1354,6 @@ > local pidfile="${EROOT}/var/run/mysqld/mysqld${RANDOM}.pid" > local mysqld="${EROOT}/usr/sbin/mysqld \ > ${options} \ >- --user=mysql \ > --basedir=${EROOT}/usr \ > --datadir=${EROOT}/${MY_DATADIR} \ > --max_allowed_packet=8M \ >@@ -1379,11 +1378,7 @@ > > ebegin "Setting root password" > # Do this from memory, as we don't want clear text passwords in temp files >- local sql="UPDATE mysql.user SET Password = PASSWORD('${MYSQL_ROOT_PASSWORD}') WHERE USER='root'" >- "${EROOT}/usr/bin/mysql" \ >- --socket=${socket} \ >- -hlocalhost \ >- -e "${sql}" >+ "${EROOT}/usr/bin/mysqladmin" --socket="${socket}" --user=root password "${MYSQL_ROOT_PASSWORD}" > eend $? > > ebegin "Loading \"zoneinfo\", this step may require a few seconds ..."
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 339371
:
249196
| 252909