[MacPorts] #19451: BUG:Port cant execute mysqld_safe

MacPorts noreply at macports.org
Wed Apr 29 10:41:32 PDT 2009


#19451: BUG:Port cant execute mysqld_safe
--------------------------------+-------------------------------------------
Reporter:  naruto97d@…          |       Owner:  ryandesign@…           
    Type:  defect               |      Status:  new                    
Priority:  Normal               |   Component:  ports                  
 Version:  1.7.0                |    Keywords:  mysql5                 
    Port:  mysql5               |  
--------------------------------+-------------------------------------------

Comment(by naruto97d@…):

 Replying to [comment:2 ryandesign@…]:
 > I couldn't tell from your message: which did you run without sudo --
 mysqld_safe or mysql_install_db? As far as I know, you should run both
 commands with sudo -- the former should run as root while the latter
 should run as the mysql user -- so I'm not surprised you're running into
 trouble if you don't do this.
 >
 > Your patch just changes a "mkdir" into a "mkdir -p", which would create
 intermediate directories. I do not see how this would relate to your
 permissions issues. However, this may be a useful patch generally, which
 you should feel free to file in the [http://bugs.mysql.com/ MySQL issue
 tracker].
 sry i didnt tell the thing clearly.
 It was, when i execute the first step mysql_install_db,i forgot to do it
 with sudo permission,but i can do it,and tells nothing wrong.but when i
 execute the 2nd step:mysqld_safe,it'll always tells that cant do it,it
 didnt create all file and dirs correctly, especially sub dir. so i need to
 mkdir.
 i hope it can be much better and make sub dir automaticly. so i change it
 from mkdir to mkdir -p.

-- 
Ticket URL: <http://trac.macports.org/ticket/19451#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list