← Back to team overview

ius-coredev team mailing list archive

[Bug 746116] Re: mysql55 does not 'add' to check config or restart service

 

Public Link https://gist.github.com/941109

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/746116

Title:
  mysql55 does not 'add' to check config or restart service

Status in IUS Community Project:
  New

Bug description:
  While a package should not automatically enable a service to
  chkconfig, it should make it available to chkconfig. It would also
  seemingly make sense to restart the upgraded service:


  rpm -Uvh
  http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-6.ius.el5.noarch.rpm
  http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
  yum install yum-plugin-replace
  yum install mysql-server
  service mysqld start # do not touch chkconfig

  
  # yum replace mysql --replace-with mysql55
  Loaded plugins: replace, rhnplugin, security
  Replacing packages takes time, please be patient...

  WARNING: Unable to resolve all providers: ['config(mysql)',
  'libmysqlclient.so.15()(64bit)',
  'libmysqlclient.so.15(libmysqlclient_15)(64bit)',
  'libmysqlclient_r.so.15()(64bit)',
  'libmysqlclient_r.so.15(libmysqlclient_15)(64bit)',
  'config(mysql-server)']

  This may be normal depending on the package.  Continue? [y/N]

  ==================================================================================================================================================
   Package                              Arch
  Version                                  Repository
        Size
  ==================================================================================================================================================
  Installing:
   mysql55                              x86_64
  5.5.9-1.ius.el5                          ius
       7.4 M
   mysql55-server                       x86_64
  5.5.9-1.ius.el5                          ius
        12 M
  Removing:
   mysql                                x86_64
  5.0.77-4.el5_5.4                         installed
       8.1 M
   mysql-server                         x86_64
  5.0.77-4.el5_5.4                         installed
        22 M
  Installing for dependencies:
   mysql55-libs                         x86_64
  5.5.9-1.ius.el5                          ius
       1.2 M
   mysqlclient15                        x86_64
  5.0.91-1.ius.el5                         ius
       1.7 M

  
  [root@mysql55 ~]# mysql
  Welcome to the MySQL monitor.  Commands end with ; or \g.
  Your MySQL connection id is 2
  Server version: 5.0.77 Source distribution

  Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights
  reserved.

  Oracle is a registered trademark of Oracle Corporation and/or its
  affiliates. Other names may be trademarks of their respective
  owners.

  Type 'help;' or '\h' for help. Type '\c' to clear the current input
  statement.

  mysql> Bye

  
  [root@mysql55 ~]# chkconfig --list mysqld
  service mysqld supports chkconfig, but is not referenced in any
  runlevel (run 'chkconfig --add mysqld')
  [root@mysql55 ~]# chkconfig --list | grep -i mysql


References