Bug #20817 package not install: user "mysql" not found
Submitted: 3 Jul 2006 1:32 Modified: 4 Jul 2006 15:12
Reporter: Den Ivanov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.0.22 OS:Solaris (Solaris)
Assigned to: MC Brown CPU Architecture:Any

[3 Jul 2006 1:32] Den Ivanov
Description:
Package mysql-standard-5.0.22-solaris10-x86_64.pkg.gz not install on Solaris 10 x64 with error:
This install require that the user 'mysql' and group 'mysql' exists
pkgadd: ERROR: request script did not complete successfully

How to repeat:
#gzip -d /var/spool/pkg/mysql-standard-5.0.22-solaris10-x86_64.pkg.gz
#pkgadd -d /var/spool/pkg/mysql-standard-5.0.22-solaris10-x86_64.pkg

The following packages are available:
  1  mysql     MySQL Community Edition - Standard (GPL)
               (i86pc) 5.0.22

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1

Processing package instance <mysql> from </var/spool/pkg/mysql-standard-5.0.22-solaris10-x86_64.pkg>

MySQL Community Edition - Standard (GPL)(i86pc) 5.0.22
Copyright (C) 2000-2005 MySQL AB & MySQL Finland AB & TCX DataKonsult AB

This install require that the user 'mysql' and group 'mysql' exists
pkgadd: ERROR: request script did not complete successfully

Installation of <mysql> failed.
No changes were made to the system.
#
[3 Jul 2006 9:16] Sveta Smirnova
It is expected behaviour, but I can not find any documentation about it. So I changed category of the bug to "Documentation request".

Thank you for the report.
[4 Jul 2006 15:12] MC Brown
A note has been added to the 5.0 and 5.1 user manuals about the requirement for mysql user/group under Solaris. The 4.1 package does not exhibit the problem.
[17 Jun 2008 21:06] Steven Lustig
More so!

The user 'mysql' needs to be added to the group 'mysql'