[MacPorts] #14600: MySQL5-server fixes

MacPorts trac at macosforge.org
Sat Mar 8 23:13:27 PST 2008


#14600: MySQL5-server fixes
---------------------------------+------------------------------------------
 Reporter:  paulbeard at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  Port Bugs                            
Component:  ports                |     Version:  1.6.0                                
 Keywords:                       |  
---------------------------------+------------------------------------------
 1. It would help if permissions were set properly so MySQL could create
 its socket file in /opt/local/var/db/mysql5.

 {{{
 chown -R mysql:mysql /opt/local/var/db/mysql5
 }}}

 For whatever reason mysqld could create and write to a log file but
 couldn't create its socket file until I set the permissions.

 2. On line 42 of /opt/local/lib/mysql5/bin/mysql_secure_installation mysql
 should be mysql5.

 {{{
      40 do_query() {
      41     echo $1 >$command
      42     mysql5 --defaults-file=$config <$command
 }}}

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


More information about the macports-tickets mailing list