X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=phpMyAdmin-config.patch;h=110be5ae2c8c515be73bf507177629cebe3eca66;hb=refs%2Fheads%2Fmaster;hp=edb6d0e0376af9287f794166fdac82267b58c8fa;hpb=66a831aeaa8c04a980be6f177dd25c09623ca94e;p=packages%2FphpMyAdmin.git diff --git a/phpMyAdmin-config.patch b/phpMyAdmin-config.patch index edb6d0e..110be5a 100644 --- a/phpMyAdmin-config.patch +++ b/phpMyAdmin-config.patch @@ -1,11 +1,12 @@ ---- phpMyAdmin-2.4.0/config.inc.php~ Sun Feb 23 21:05:16 2003 -+++ phpMyAdmin-2.4.0/config.inc.php Wed Apr 16 12:07:48 2003 -@@ -70,7 +70,7 @@ - // (this user must have read-only - $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user" - // and "mysql/db" tables) --$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? -+$cfg['Servers'][$i]['auth_type'] = 'http'; // 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) +diff -burNp phpMyAdmin-3.1.0-all-languages/libraries/config.default.php phpMyAdmin-3.1.0-all-languages-new/libraries/config.default.php +--- phpMyAdmin-3.1.0-all-languages/libraries/config.default.php 2008-11-28 14:21:00.000000000 +0100 ++++ phpMyAdmin-3.1.0-all-languages-new/libraries/config.default.php 2008-12-02 10:31:40.200149063 +0100 +@@ -180,7 +180,7 @@ $cfg['Servers'][$i]['auth_swekey_config' + * + * @global string $cfg['Servers'][$i]['user'] + */ +-$cfg['Servers'][$i]['user'] = 'root'; ++$cfg['Servers'][$i]['user'] = 'mysql'; + + /** + * MySQL password (only needed with 'config' auth_type)