Skip to content

Instantly share code, notes, and snippets.

@punit5658
Last active April 20, 2021 16:04
Show Gist options
  • Select an option

  • Save punit5658/cb5326f321f3b7d4a85c9b71eccc78a9 to your computer and use it in GitHub Desktop.

Select an option

Save punit5658/cb5326f321f3b7d4a85c9b71eccc78a9 to your computer and use it in GitHub Desktop.

Revisions

  1. punit5658 renamed this gist Apr 20, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .php → config.inc.php
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Open Location of phpMyAdmin and edit : config.inc.php
    Open Location of phpMyAdmin and edit : config.inc.php ( Command : sudo vi config.inc.php )

    Add following line to end of the file :
    <?php
  2. punit5658 revised this gist Apr 20, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .php
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,4 @@
    $cfg['TempDir'] = 'tmp';
    ?>
    create directory 'tmp' at same directory if not exist(Command: mkdir tmp )
    Allow access permission : 0777 ( Command : chown -R 777 tmp )
    Allow access permission : 0777 ( Command : chown -R 777 tmp )
  3. punit5658 renamed this gist Apr 20, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. punit5658 created this gist Apr 20, 2021.
    15 changes: 15 additions & 0 deletions php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    Open Location of phpMyAdmin and edit : config.inc.php

    Add following line to end of the file :
    <?php
    $i++;
    $cfg['Servers'][$i]['host'] = '192.168.1.133';
    $cfg['Servers'][$i]['user'] = 'username';
    $cfg['Servers'][$i]['password'] = 'password';
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['compress'] = false;
    $cfg['Servers'][$i]['AllowNoPassword'] = false;
    $cfg['TempDir'] = 'tmp';
    ?>
    create directory 'tmp' at same directory if not exist(Command: mkdir tmp )
    Allow access permission : 0777 ( Command : chown -R 777 tmp )