Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 377010 Details for
Bug 491348
dev-db/mysql-init-scripts init.d message - /usr/bin/mysql_install_db does not exist
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mysql-5.1.67-init.d.patch
mysql-5.1.67-init.d.patch (text/plain), 847 bytes, created by
Brian Evans (RETIRED)
on 2014-05-15 14:37:01 UTC
(
hide
)
Description:
mysql-5.1.67-init.d.patch
Filename:
MIME Type:
Creator:
Brian Evans (RETIRED)
Created:
2014-05-15 14:37:01 UTC
Size:
847 bytes
patch
obsolete
>--- /usr/portage/dev-db/mysql-init-scripts/files/mysql-5.1.67-init.d 2013-01-17 20:51:47.000000000 -0500 >+++ mysql-5.1.67-init.d 2014-05-15 10:23:53.905507415 -0400 >@@ -59,8 +59,15 @@ > fi > > if [ ! -d "${datadir}"/mysql ] ; then >- eerror "You don't appear to have the mysql database installed yet." >- eerror "Please run /usr/bin/mysql_install_db to have this done..." >+ # find which package is installed to report an error >+ local EROOT=$(portageq envvar EROOT) >+ local DBPKG_P=$(portageq match ${EROOT} $(portageq expand_virtual ${EROOT} virtual/mysql)) >+ if [[ -z ${DBPKG_P} ]] ; then >+ eerror "You don't appear to have a server package installed yet." >+ else >+ eerror "You don't appear to have the mysql database installed yet." >+ eerror "Please run \`emerge --config =${DBPKG_P}\` to have this done..." >+ fi > return 1 > fi >
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 491348
: 377010