Bug #18502 mysql_install_db problen
| Submitted: | 24 Mar 2006 23:42 | Modified: | 27 Mar 2006 16:33 |
|---|---|---|---|
| Reporter: | [ name withheld ] | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 4.1.18 | OS: | Linux (Gentoo) |
| Assigned to: | CPU Architecture: | Any |
[24 Mar 2006 23:42]
[ name withheld ]
[25 Mar 2006 8:54]
Hartmut Holzgraefe
are you starting as root? only root can change the effectve user id of a process ... if not starting as root you need to start as the configured user (mysql in this case) right away
[25 Mar 2006 10:30]
[ name withheld ]
Of course I start as root...
[26 Mar 2006 15:03]
[ name withheld ]
The following solution was obtained: su mysql -c ./bin/mysql_install_db su mysql -c ./bin/mysqld_safe &
[27 Mar 2006 16:33]
Valeriy Kravchuk
So, it is not a bug. Option --user=mysql should also help in this case.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.