[MacPorts] #29544: mysql5 root password reser

MacPorts noreply at macports.org
Sun May 22 07:44:14 PDT 2011


#29544: mysql5 root password reser
----------------------------------+-----------------------------------------
 Reporter:  IlushinDNS@…          |       Owner:  macports-tickets@…                   
     Type:  request               |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.2                                
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------
 I'm totally new to all of this.

 I was installing python-django-mysql
 After installing mysql5 and mysql_server i ran

 {{{
 MacBook-Pro-Denis-Ilyushin:local IlushinDNS$
 /opt/local/lib/mysql5/bin/mysql_secure_installation
 }}}

 and used black root password (as i just installed it)
 what i have got is

 {{{
 touch: .my.cnf.18576: Permission deniedtouch: .mysql.18576: Permission
 denied
 chmod: .my.cnf.18576: No such file or directory
 chmod: .mysql.18576: No such file or directory




 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
       SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!


 In order to log into MySQL to secure it, we'll need the current
 password for the root user.  If you've just installed MySQL, and
 you haven't set the root password yet, the password will be blank,
 so you should just press enter here.

 Enter current password for root (enter for none):
 /opt/local/lib/mysql5/bin/mysql_secure_installation: line 85:
 .my.cnf.18576: Permission denied
 /opt/local/lib/mysql5/bin/mysql_secure_installation: line 86:
 .my.cnf.18576: Permission denied
 /opt/local/lib/mysql5/bin/mysql_secure_installation: line 87:
 .my.cnf.18576: Permission denied
 /opt/local/lib/mysql5/bin/mysql_secure_installation: line 89:
 .my.cnf.18576: Permission denied
 /opt/local/lib/mysql5/bin/mysql_secure_installation: line 58:
 .mysql.18576: Permission denied
 /opt/local/lib/mysql5/bin/mysql_secure_installation: line 60:
 .mysql.18576: No such file or directory
 }}}


 I don't know what to do futher, i understand that i need password reset,
 but i dont know how to do that...

 Please help

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


More information about the macports-tickets mailing list