[MacPorts] #13647: mysql5 startup script is broken due to non-standard default command names

MacPorts trac at macosforge.org
Wed Dec 19 15:05:01 PST 2007


#13647: mysql5 startup script is broken due to non-standard default command names
----------------------------------+-----------------------------------------
 Reporter:  chris at improbable.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:  Port Bugs                            
Component:  ports                 |     Version:  1.6.0                                
 Keywords:                        |  
----------------------------------+-----------------------------------------
 mysql5 installs all of its binaries with a trailing -5 syntax. Besides
 being extremely annoying this breaks the provided startup script:

 {{{
  chris at Enceladus:/opt/local/bin $ grep /mysqld_safe
 /opt/local/share/mysql5/mysql/mysql.server
  elif test -x $bindir/mysqld_safe
  $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file
 $other_args >/dev/null 2>&1 &
 }}}

 This could be fixed by editing that script but I chose to correctthe
 binary names instead so my personal scripts, aliases, text editors, etc.
 don't also have to be updated:

 {{{chris at Enceladus:/opt/local/bin $ for f in my*5; do sudo mv "$f" "`echo
 $f | sed 's/5$//'`"; done}}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13647>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list