Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 393480 Details for
Bug 530012
dev-db/mysql-5.6.21-r1 crashes on app-office/akonadi-server-1.13.0 start
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Find mysql_install_db and add required option
mysql-db-install-path-and-option.patch (text/plain), 1.48 KB, created by
Brian Evans (RETIRED)
on 2015-01-08 20:20:58 UTC
(
hide
)
Description:
Find mysql_install_db and add required option
Filename:
MIME Type:
Creator:
Brian Evans (RETIRED)
Created:
2015-01-08 20:20:58 UTC
Size:
1.48 KB
patch
obsolete
>diff -aruN akonadi-1.13.0.old/server/src/storage/dbconfigmysql.cpp akonadi-1.13.0/server/src/storage/dbconfigmysql.cpp >--- akonadi-1.13.0.old/server/src/storage/dbconfigmysql.cpp 2014-08-10 06:38:58.000000000 -0400 >+++ akonadi-1.13.0/server/src/storage/dbconfigmysql.cpp 2015-01-08 15:08:36.906134212 -0500 >@@ -76,6 +76,7 @@ > << QLatin1String( "/usr/local/sbin" ) > << QLatin1String( "/usr/local/libexec" ) > << QLatin1String( "/usr/libexec" ) >+ << QLatin1String( "/usr/share/mysql/scripts" ) > << QLatin1String( "/opt/mysql/libexec" ) > << QLatin1String( "/opt/local/lib/mysql5/bin" ) > << QLatin1String( "/opt/mysql/sbin" ); >@@ -278,7 +279,7 @@ > // first run, some MySQL versions need a mysql_install_db run for that > const QString confFile = XdgBaseDirs::findResourceFile( "config", QLatin1String( "akonadi/mysql-global.conf" ) ); > if ( QDir( dataDir ).entryList( QDir::NoDotAndDotDot | QDir::AllEntries ).isEmpty() && !mMysqlInstallDbPath.isEmpty() ) { >- const QStringList arguments = QStringList() << QString::fromLatin1( "--force" ) << QString::fromLatin1( "--defaults-file=%1" ).arg( confFile ) << QString::fromLatin1( "--datadir=%1/" ).arg( dataDir ); >+ const QStringList arguments = QStringList() << QString::fromLatin1( "--force" ) << QString::fromLatin1( "--defaults-file=%1" ).arg( confFile ) << QString::fromLatin1( "--datadir=%1/" ).arg( dataDir ) << QString::fromLatin1( "--basedir=/usr" ) ; > QProcess::execute( mMysqlInstallDbPath, arguments ); > } >
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 530012
: 393480