Visualizzazione dei risultati da 1 a 6 su 6
  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2008
    Messaggi
    53

    Problemi con phpMyAdmin quando devo mettere la password MySQL nel file conf.inc.php

    Salve,
    stò seguendo la guida sul php su windows e questa lezioe mi da dei problemi:
    http://php.html.it/guide/lezione/256...di-phpmyadmin/
    Ho MySQL 5.1 e phpMyAdmin 3.1.0 beta1 (anche 3.0.11 che non uso), e quando devo immettere la password utilizzata dall'utente root (che è quella di MySQl), non riesco a trovare il punto giusto. Ho provato anche con l'opzone Trova del programma block-notes, ma niente. Vorrei sapere dove immettere la passwor, il punto preciso, oppure un'altra valida soluzione.
    Fatto questo, come proseguire? Metto http://localhost://phpmyadin nella barra degli indirizzi come scritto nella lezione della guida?
    Grazie mille per l'attenzione
    By Loris

  2. #2
    quando segui una guida devi fare ben attenzione alla versione a cui si riferisce. Sovente non tutto e' compatibile con le versioni nuove. Men che meno dovresti usare delle versioni beta se non hai interesse al debug del programma.

    se osservi nelle note di rilascio c'e' un nuovo modo di gestire user, pwd e cookie.

    http://www.phpmyadmin.net/home_page/...php?relnotes=0

    codice:
    Improvements for 3.1.0:
    + [auth] Support for Swekey hardware authentication
    + BLOBstreaming support
    + new setup script
    + patch #2067462 [lang] link FAQ references in messages
    + [auth] cookie auth now autogenerates blowfish_secret, but it has
      some limitations and you still should set it in config file
    + [auth] cookie authentication is now the default
    + [auth] do not allow root user without password unless explicitly 
      enabled by AllowNoPasswordRoot
    + rfe #1892243 [export] more links to documentation
    + rfe #1778908 [auth] arbitrary server auth can now also accept port
    + rfe #1612724 [export] add option to export without comments
    + rfe #1276463 [search] Search empty/not empty values 
    + rfe #823652 [structure] ENUM values: field size too small
    Il suggerimento e' di lasciare in pace le versioni beta ed anche le RC ed usare solo le versioni stabili. La ver. 3.0.1.1 ha tutto ed anche molto di piu'.

    Il silenzio è spesso la cosa migliore. Pensa ... è gratis.

  3. #3
    ho voluto fare una prova. E' identico alla versione 3.0.1.1 ... almeno al momento visto che e' una versione beta.

    fai una copia di config.sample.inc.php in config.inc.php

    apri il file config.inc.php e metti una cosa qualsiasi nella riga

    $cfg['blowfish_secret'] = 'testo_qualsiasi'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

    salva. e poi lanci il tuo phpmyadmin ed inserisci user / pwd.

    per tua comodita' ti riporto il manuale:

    Now you must configure your installation. There are two methods that can be used. Traditionally, users have hand-edited a copy of config.inc.php, but now a wizard-style setup script is provided for those who prefer a graphical installation. Creating a config.inc.php is still a quick way to get started and needed for some advanced features.

    * To manually create the file, simply use your text editor to create the file config.inc.php (you can copy config.sample.inc.php to get minimal configuration file) in the main (top-level) phpMyAdmin directory (the one that contains index.php). phpMyAdmin first loads libraries/config.default.php and then overrides those values with anything found in config.inc.php. If the default value is okay for a particular setting, there is no need to include it in config.inc.php. You'll need a few directives to get going, a simple configuration may look like this:

    <?php
    $cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // use here a value of your choice

    $i=0;
    $i++;
    $cfg['Servers'][$i]['auth_type'] = 'cookie';
    ?>

    Or, if you prefer to not be prompted every time you log in:

    <?php

    $i=0;
    $i++;
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = 'cbb74bc'; // use here your password
    ?>

    For a full explanation of possible configuration values, see the Configuration Section of this document.
    http://localhost/phpmyadmin-3.1.0/Documentation.html

    Il silenzio è spesso la cosa migliore. Pensa ... è gratis.

  4. #4
    Utente di HTML.it
    Registrato dal
    Oct 2008
    Messaggi
    53
    Volevo dire che adesso non uso più la versione beta d phpmyadmin ma ho deciso di usare la 3.0.1.1.
    Spero mi sia d'aiuto, però non ho ancora risolto il problema. Aiutatemi please
    By Loris

  5. #5
    Originariamente inviato da LorisMi
    Volevo dire che adesso non uso più la versione beta d phpmyadmin ma ho deciso di usare la 3.0.1.1.
    Spero mi sia d'aiuto, però non ho ancora risolto il problema. Aiutatemi please
    ma quale sarebbe questo problema?

    Il silenzio è spesso la cosa migliore. Pensa ... è gratis.

  6. #6
    Utente di HTML.it
    Registrato dal
    Oct 2008
    Messaggi
    53
    Il problema è che quando immetto http:||localhost/phpmyadmin nella barra degli indirizzi mi compare la pagina non trovata, eppure la cartella phpmyadmin in C:/www c'è.
    By Loris

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.