[MacPorts] #21437: unable to setup phpMyAdmin

MacPorts noreply at macports.org
Wed Sep 16 20:53:33 PDT 2009


#21437: unable to setup phpMyAdmin
------------------------------------------+---------------------------------
 Reporter:  steve404@…                    |       Owner:  macports-tickets@…                   
     Type:  request                       |      Status:  new                                  
 Priority:  Normal                        |   Milestone:                                       
Component:  ports                         |     Version:  1.8.0                                
 Keywords:  phpmyadmin php apache2 mysql  |        Port:                                       
------------------------------------------+---------------------------------
 Hello,

 I'm following instructions at the below link to setup Apache, MySQL and
 PHP.
 https://trac.macports.org/wiki/howto/MAMP

 At the end of the page it describes how to setup phpMyAdmin:

 {{{
 Finally, you need to set up the phpMyAdmin configuration to access mySQL.
 First, set up the config file:

 cd /opt/local/www/phpmyadmin/
 cp config.sample.inc.php config.inc.php
 This will create a file config.inc.php in the phpMyAdmin folder. Edit that
 file, and locate the lines:

 $cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication
 method (config, http or cookie based)?
 $cfg['Servers'][$i]['user']          = 'root';      // MySQL user
 $cfg['Servers'][$i]['password']      = '';          // MySQL password
 (only needed
                                                     // with 'config'
 auth_type)
 Where ' ' is an empty password; fill it with your MySQL root password. You
 can either change the 'auth_type' from 'config' to 'cookie' or 'httpd', or
 alternatively provide the password you selected for the root user in the
 'password' option.
 }}}


 I'm able to create file config.inc.php, however when I search for the
 section to define the password, I don't have that section of code.

 How do I set the password?  Do I just add those 3 or 4 lines of code?

 -Steve

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


More information about the macports-tickets mailing list