| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
In SysV initscripts for RPMS [mysqld] section was ignored for some options.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
MYSQLD_SAFE
DESCRIPTION
===========
Starting a mysql server by running init script:
/etc/init.d/mysqld start
is failing. This is happening after the changes done in
script 'mysqld_safe' as a patch to Bug#24464380.
ANALYSIS
========
Say customer's /etc/my.cnf has following content:
[mysqld_safe]
.
.
ledir = /mysqld_ledir
mysqld = mysqld_wrapper
Patch to Bug#24464380 prohibits using "mysqld" (and few
other variables) in config file due to privilege reasons.
Since mysqld init scripts internally calls 'mysqld_safe'
script, the existing configuration has started failing.
FIX
===
In the init script, we now pass MYSQLD_OPTS as the first
argument (expected to be read from /etc/sysconfig/mysqld)
to mysqld_safe command. This new variable can have all the
mysqld_safe's special options as a string containing command
line arguments. For example:
MYSQLD_OPTS=" --ledir=/mysqld_ledir --mysqld=my_wrapper "
NOTE TO THE DOCUMENTATION TEAM
==============================
As mentioned above, the prohibited variables have to be
moved from /etc/my.cnf to /etc/sysconfig/mysqld as a string
containing command-line arguments in the form of variable
MYSQLD_OPTS. We can pass mysqld options as well in this new
variable which would be further passed to mysqld process.
|
| | |
|
| |
| |
| |
| | |
INIT SCRIPTS
|
| |
| |
| |
| | |
- Removed mysql.conf, mysqld.service and mysql-systemd-start from sles spec file
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Don't read --ledir option from config file.
Ignore current working for finding location of mysqld
Remove use of chown/chmod in scripts.
Be helpful only when basedir is /var/log or /var/lib.
Removed unused systemd files for SLES.
Set explicit basedir in scripts.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Wrapper for mysql_config used in multilib installs modified to work as
intended, added more archs (aarch64, ppc64le, s390x, s390, sparc and
sparc64) to lists in fallback mode and use same script for EL and
Fedora.
Thanks to Alexey Kopytov for report and fix.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RESTRICTED IN ALL GA RELEASES
Back port of WL#6782 to 5.5 and 5.6. This also includes
back port of Bug#20771331, Bug#20741572 and Bug#20770671.
Bug#24695274 and Bug#24679907 are also handled along with
this.
|
| |
| |
| |
| |
| |
| |
| | |
Argument to malloc-lib must be included in restricted list of
directories, symlink guards added, and mysqld and mysqld-version
options restricted to command line only. Don't redirect errors to
stderr.
|
| |
| |
| |
| |
| |
| | |
5.6.32(COMUNITY/COMMERCIAL)
Remove mysql_config from client sub-package
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
MYSQL-COMMUNITY-CLIENT (#70985)
Fix is a backport of BUG#18518216/72230 to MySQL 5.5 and 5.6.
Will also resolve:
BUG#23605713/81384 LIBMYSQLCLIENT.SO.18 MISSING FROM MYSQL 5.7
as mysql-community-libs-5.5 or mysql-community-libs-5.6 can
installed on EL6 system with libmysqlclient.16 (from MySQL 5.1)
libmysqlclient.20 (from MySQL 5.7) by doing:
$ rpm --oldpackage -ivh mysql-community-libs-5.5.50-2.el6.x86_64.rpm
Providing a way to have several versions of libmysqlclient installed
on the same system.
and help:
BUG#23088014/80981 LIBS-COMPAT RPMS SHOULD BE INDEPENDENT OF ALL OTHER SUBPACKAGES
due to less strict coupling between -libs-compat and -common package.
|
| |
| |
| |
| |
| |
| |
| | |
INSTALLED
Remove mysql_config from client package to avoid conflict (file
shipped in devel package any way).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
INSTALLING SERVER FROM REPO
Description:
This issue doesn't effect any default installation of repo rpms if user uses
init scripts that are shipped as part of package but will have trouble if
user tries to createdb or start server manually.
After installing mysql-server from repository(yum,zypper) /var/log/mysqld.log
is created with logged in user and group permissions instead of with mysql
user and group permissions,due to which while creating database or starting
server, it is failing
Fix:
Updated the user and group permissions of the /var/log/mysqld.log and
/var/log/mysql/mysqld.log (for sles) files to mysql.
|
| | |
|
| |
| |
| |
| |
| |
| | |
DEFAULT
Enable mysqld service by default in sysv initscrips
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
COMMAND LINE
If the configuration files contains multiple datadir lines, use the last datadir
entry in the RPM installation scripts
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
FOR EL5
- Remove -N option in useradd for EL5 platforms
|
| |
| |
| |
| |
| |
| | |
MYSQL-CONNECTOR-C-DEVEL-6.1.6 IS INSTALLED
As MySQL Connector C 6.1 is end of life, added conflict with mysql-connector-c-devel dependencies
|
| |
| |
| |
| |
| |
| | |
MYSQL-CONNECTOR-C-DEVEL
As MySQL Connector C 6.1 is end of life, added conflict with mysql-connector-c-shared dependencies
|
| |
| |
| |
| | |
Syncs "official" and our own Docker images
|
| | |
|
| |
| |
| |
| |
| |
| | |
SIMILAR
Fixed the syntax in mysql-systemd-start script
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
- Updated emdedded to embedded
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
WITH SLES11 REPO
Log file directory had too strict access rights, server not able
to write to log file.
Signed-off-by: Terje Røsten <terje.rosten@oracle.com>
|
| |
| |
| |
| |
| | |
Due to large version numbers used libmysqlclient-devel packages was
not considered for install. Fixed by removing version check.
|
| | |
|
| | |
|
|\ \ |
|
| |/ |
|
| | |
|
| |
| |
| |
| | |
fails on CentOS 6
|
| | |
|
| |\
| | |
| | |
| | | |
- Reverted version variable
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| | |
| | |
| | |
| | | |
- Upgrade from MySQL-* packages
- Fix Cflags for el7
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|