Comment 3 for bug 1291247

Revision history for this message
Jericho Rivera (jericho-rivera) wrote :

I get a different error on PS 5.5.36. Still on a fresh CentOS installation.

[root@localhost /]# yum install Percona-Server-server-55 Percona-Server-client-55
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.symnds.com
 * extras: centos.someimage.com
 * updates: mirror.ash.fastserv.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package Percona-Server-client-55.x86_64 0:5.5.36-rel34.0.el6 will be installed
--> Processing Dependency: Percona-Server-shared-55 for package: Percona-Server-client-55-5.5.36-rel34.0.el6.x86_64
---> Package Percona-Server-server-55.x86_64 0:5.5.36-rel34.0.el6 will be installed
--> Running transaction check
---> Package Percona-Server-shared-55.x86_64 0:5.5.36-rel34.0.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
 Percona-Server-client-55 x86_64 5.5.36-rel34.0.el6 percona 6.1 M
 Percona-Server-server-55 x86_64 5.5.36-rel34.0.el6 percona 15 M
Installing for dependencies:
 Percona-Server-shared-55 x86_64 5.5.36-rel34.0.el6 percona 646 k

Transaction Summary
========================================================================================================================================================================
Install 3 Package(s)

Total download size: 22 M
Installed size: 97 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): Percona-Server-client-55-5.5.36-rel34.0.el6.x86_64.rpm | 6.1 MB 00:01
(2/3): Percona-Server-server-55-5.5.36-rel34.0.el6.x86_64.rpm | 15 MB 00:03
(3/3): Percona-Server-shared-55-5.5.36-rel34.0.el6.x86_64.rpm | 646 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.1 MB/s | 22 MB 00:10
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : Percona-Server-shared-55-5.5.36-rel34.0.el6.x86_64 1/3
  Installing : Percona-Server-client-55-5.5.36-rel34.0.el6.x86_64 2/3
  Installing : Percona-Server-server-55-5.5.36-rel34.0.el6.x86_64 3/3

FATAL ERROR: Could not find mysqld

The following directories were searched:

    /usr/share/libexec
    /usr/share/sbin
    /usr/share/bin

If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.

If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.

chmod: cannot access `/var/lib/mysql/mysql': No such file or directory
Percona Server is distributed with several useful UDF (User Defined Function) from Maatkit.
Run the following commands to create these functions:
mysql -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'"
mysql -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'"
mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'"
See http://code.google.com/p/maatkit/source/browse/trunk/udf for more details
  Verifying : Percona-Server-client-55-5.5.36-rel34.0.el6.x86_64 1/3
  Verifying : Percona-Server-shared-55-5.5.36-rel34.0.el6.x86_64 2/3
  Verifying : Percona-Server-server-55-5.5.36-rel34.0.el6.x86_64 3/3

Installed:
  Percona-Server-client-55.x86_64 0:5.5.36-rel34.0.el6 Percona-Server-server-55.x86_64 0:5.5.36-rel34.0.el6

Dependency Installed:
  Percona-Server-shared-55.x86_64 0:5.5.36-rel34.0.el6

Complete!
[root@localhost /]#

Same cnf in #2. Removing basedir option worked.