Menu

#2374 (ok 2.10.0.1) Setup script fails to output SSL parameter

2.10.0
fixed
1
2013-06-11
2007-02-28
No

After a fresh install of phpMyAdmin 2.10.0 and running
setup.php, the generated config.inc.php misses a
parameter so that logins alway fail with "Error #2026 -
SSL connection error". The setup script generates:

[...]
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['connect_type'] = 'socket';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
[...]

Only after adding the line

$cfg['Servers'][$i]['compress'] = false;

login succeeds. For local socket connections, the setup
script should generate the above config line.

See also:
https://sourceforge.net/forum/forum.php?thread_id=1683182&forum_id=72909
https://sourceforge.net/forum/message.php?msg_id=4183269

Discussion

  • Ralph Seichter

    Ralph Seichter - 2007-02-28

    Logged In: YES
    user_id=597766
    Originator: YES

    Sorry, the missing config setting is as follows:

    $cfg['Servers'][$i]['ssl'] = false;

     
  • Marc Delisle

    Marc Delisle - 2007-02-28

    Logged In: YES
    user_id=210714
    Originator: NO

    2.10.0.1 is coming soon with this line:
    $cfg['Servers'][$i]['ssl'] = false;

    in libraries/config.default.php

     
  • Marc Delisle

    Marc Delisle - 2007-02-28
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2007-02-28
    • priority: 5 --> 1
    • summary: Setup script fails to output SSL parameter in V2.10.0 --> (ok 2.10.0.1) Setup script fails to output SSL parameter
    • status: open --> open-fixed
     
  • Jürgen Wind

    Jürgen Wind - 2007-03-01

    Logged In: YES
    user_id=1383652
    Originator: NO

    why no fix for trunk?

     
  • Marc Delisle

    Marc Delisle - 2007-03-01

    Logged In: YES
    user_id=210714
    Originator: NO

    Trunk and QA_2_10 will get the fix tomorrow. I have a family life :)

     
  • Ralph Seichter

    Ralph Seichter - 2007-03-01

    Logged In: YES
    user_id=597766
    Originator: YES

    Thanks for fixing this so quickly.

     
  • Marc Delisle

    Marc Delisle - 2007-03-02
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed