• User Attivo

    istallazione di phpmyadmin

    aiuto!!! Ho dovuto formattare il computer...pensavo di avere salvato tutto ciò che doveva poi servirmi ancora...ma ho dimenticato di salvare il file di conf di phpmy admin...ho reinstallato sia il server Apoache sia Mysql5...e logicamente anche MyAdmin...ma non riesco a visualizzrlo....
    ho scompattato phpMyAdmin nellla cartella test di Apache, dove sta anche la cartella del sito che sto facendo... vi allego qui il file di conf...mi dite cosa non funziona?
    Grazie
    Stefana

    • In most cases you can leave this variable empty, as the correct value
    • will be detected automatically. However, we recommend that you do
    • test to see that the auto-detection code works in your system. A good
    • test is to browse a table, then edit a row and save it. There will be
    • an error message if phpMyAdmin cannot auto-detect the correct value.
      */
      $cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';

    /**

    • Disable the default warning that is displayed on the DB Details Structure page if
    • any of the required Tables for the relationfeatures could not be found
      */
      $cfg['PmaNoRelation_DisableWarning'] = FALSE;

    /**

    • The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
    • at least one server configuration uses 'cookie' auth_type, enter here a
    • passphrase that will be used by blowfish. The maximum length seems to be 46
    • characters.
      */
      $cfg['blowfish_secret'] = '';

    /**

    • Server(s) configuration
      /
      $i = 0;
      // The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
      // $cfg['Servers'][0]. You can disable a server config entry by setting host
      // to ''. If you want more than one server, just copy following section
      // (including $i incrementation) serveral times. There is no need to define
      // full server array, just define values you need to change.
      $i++;
      $cfg['Servers']
      ['host'] = 'localhost'; // MySQL hostname or IP address
      $cfg['Servers']['port'] = ''; // MySQL port - leave blank for default port
      $cfg['Servers']
      ['socket'] = ''; // Path to the socket - leave blank for default socket
      $cfg['Servers']['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
      $cfg['Servers']
      ['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
      $cfg['Servers']['compress'] = FALSE; // Use compressed protocol for the MySQL connection
      // (requires PHP >= 4.3.0)
      $cfg['Servers']
      ['controluser'] = ''; // MySQL control user settings
      // (this user must have read-only
      $cfg['Servers']['controlpass'] = ''; // access to the "mysql/user"
      // and "mysql/db" tables).
      // The controluser is also
      // used for all relational
      // features (pmadb)
      $cfg['Servers']
      ['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
      $cfg['Servers']['user'] = 'root'; // MySQL user
      $cfg['Servers']
      ['password'] = 'stefana'; // MySQL password (only needed

  • Moderatore

    ma su che sistema operativo lo stai installando?

    se è Windows ti conviene installare EasyPHP o WAMP, se è Linux non dovresti avere problemi visto che si trova in tutte le distro


  • User Attivo

    è windows......avevo già installato precedentemente, ma ho formattato...pensavo di aver salvato il file...ma sembra che ho dimenticato qualcosa...


  • Moderatore

    beh bisogna vedere se la password si trova, se hai reinstallato dubito sia settata

    poi c'è http://localhost/phpMyAdmin/ che punta a (www_root)/phpMyAdmin dove www_root è la root directory impostata nel file httpd.conf

    a parte queste due cose non vedo nient'altro che potrebbe non funzionare


  • User Attivo

    http://localhost/phpMyAdmin/
    punta a questo in quanto in apache ho creto la cartella test all'interno della quale sta sia la cartella del sito che la cartella di phoMyAdmin, per cui se digito solo localhost, mi dovrebbero apparire entrambi. ma questo non accade...a direi il vero devo controllare anche apache...appena istallato mi funzionava visto che è apparsa la schermata, ma poi ho modificato la direictory per farla puntare invece che htdocs a test...ma non funziona


  • Moderatore

    ti conviene lasciare htdocs come root directory, questo a causa dei permessi sulle dir e sui file....