[MacPorts] #28772: mysql_install_db5 works without '--user=_mysql' option, but mysql.user table not populated

MacPorts noreply at macports.org
Sun Sep 18 22:50:19 PDT 2011


#28772: mysql_install_db5 works without '--user=_mysql' option, but mysql.user
table not populated
-----------------------------------+----------------------------------------
 Reporter:  knightcode1@…          |       Owner:  ryandesign@…           
     Type:  defect                 |      Status:  new                    
 Priority:  Normal                 |   Milestone:                         
Component:  ports                  |     Version:  1.9.2                  
 Keywords:                         |        Port:  mysql5                 
-----------------------------------+----------------------------------------

Comment(by smitty1e@…):

 I was running:

 #sudo mysql_install_db5 --user=_mysql

 and getting:

 ERROR: 1004  Can't create file '/var/tmp/#sql12d_1_0.frm' (errno: 9)

 this was because /var/tmp was root:wheel

 so I did:

 #sudo chown root:admin /var/tmp

 and life improved

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


More information about the macports-tickets mailing list