[MacPorts] #21437: The MAMP howto doesn't match the sample phpMyAdmin config file

Ryan Schmidt ryandesign at macports.org
Thu Sep 17 09:51:44 PDT 2009


On Sep 17, 2009, at 11:48, Steve Meether wrote:

> Hello,
>
> So how do I set the password for access to phpMyAdmin?  Do I simply  
> add the following lines?

Years ago when I used phpMyAdmin, those lines were in the config file  
and you would modify them to suit. If those lines are no longer in the  
config file of today's phpMyAdmin then they have changed things.  
Consult the phpMyAdmin documentation, and when you find the answer,  
let us know, or edit the wiki page yourself to fix it.



> 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.
>
>
>
> Please advise,
>
> -Steve
>
>
>
> On Sep 17, 2009, at 9:47 AM, MacPorts wrote:
>
>> #21437: The MAMP howto doesn't match the sample phpMyAdmin config  
>> file
>> ------------------------------ 
>> +---------------------------------------------
>> Reporter:  steve404@…        |       Owner:  alakazam@…
>>     Type:  defect            |      Status:  assigned
>> Priority:  Normal            |   Milestone:
>> Component:  wiki              |     Version:  1.8.0
>> Keywords:                    |        Port:  phpmyadmin
>> ------------------------------ 
>> +---------------------------------------------
>>
>> Comment(by ryandesign@…):
>>
>> I've worked on the ports that comprise the MAMP stack, but the MAMP  
>> guide
>> in the wiki was created by someone else. I read through it recently  
>> and
>> made a lot of adjustments for clarity and changes that had occurred  
>> in the
>> MAMP ports, but that's about it. I haven't used phpMyAdmin in years  
>> so I
>> don't know how it's changed lately.
>>
>> One thought I had was that the MAMP guide tells the user to create  
>> the
>> file httpd-phpmyadmin.conf with a certain contents. I would suggest  
>> that
>> it should instead be the phpMyAdmin port's responsibility to do that.
>>
>> -- 
>> Ticket URL: <http://trac.macports.org/ticket/21437#comment:4>
>> MacPorts <http://www.macports.org/>
>> Ports system for Mac OS
>



More information about the macports-dev mailing list