Visualizzazione dei risultati da 1 a 3 su 3

Discussione: Accesso phpmyadmin

  1. #1

    Accesso phpmyadmin

    Ciao a tutti, ho un problema: non riesco ad effettuare il login per entrare in PhpMyAdmin.

    Premessa: poiché dovevo utilizzare il CMS Drupal senza perdere troppo tempo a fare le varie configurazioni MySql, Apache eccetera ho utilizzato un pacchetto della BitNami che ha installato e configurato tutto il necessario, compreso PhpMyAdmin.

    E' stato così configurato anche il file per PhpMyadmin config.inc.php; ho inserito qui sotto una parte di questo file (se volete sapere qualche parametro che non ho riportato chiedete).

    Il problema è che quando accedo a http://localhost/phpmyadmin/index.php mi viene richiesto nome utente e password; io inserisco le stesse credenziali che uso per accedere a mysql da riga di comando (e che sono identiche a quelle di questo file), ma non riesco ad entrare, continua a chiedermi di inserire nome utente e password.

    Non me ne intendo molto, sapreste aiutarmi? Inserendo la stessa password da riga di comando riesco ad entrare in MySql, mentre con PhpMyAdmin no. Perchè?

    Grazie

    Moreno

    codice:
    /*******************************************************************************
     * Server(s) configuration
     *
     * The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use
     * $cfg['Servers'][0]. You can disable a server configuration entry by setting host
     * to ''. If you want more than one server, just copy following section
     * (including $i incrementation) several times. There is no need to define
     * full server array, just define values you need to change.
     *
     * @global array $cfg['Servers']
     */
    $cfg['Servers'] = array();
    
    $i = 1;
    
    /**
     * MySQL hostname or IP address
     *
     * @global string $cfg['Servers'][$i]['host']
     */
    $cfg['Servers'][$i]['host'] = 'localhost';
    
    /**
     * MySQL port - leave blank for default port
     *
     * @global string $cfg['Servers'][$i]['port']
     */
    $cfg['Servers'][$i]['port'] = '3306';
    
    /**
     * Path to the socket - leave blank for default socket
     *
     * @global string $cfg['Servers'][$i]['socket']
     */
    $cfg['Servers'][$i]['socket'] = '';
    
    /**
     * Use SSL for connecting to MySQL server?
     *
     * @global boolean $cfg['Servers'][$i]['ssl']
     */
    $cfg['Servers'][$i]['ssl'] = false;
    
    /**
     * How to connect to MySQL server ('tcp' or 'socket')
     *
     * @global string $cfg['Servers'][$i]['connect_type']
     */
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    
    /**
     * The PHP MySQL extension to use ('mysql' or 'mysqli')
     *
     * @global string $cfg['Servers'][$i]['extension']
     */
    $cfg['Servers'][$i]['extension'] = 'mysql';
    
    /**
     * Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
     *
     * @global boolean $cfg['Servers'][$i]['compress']
     */
    $cfg['Servers'][$i]['compress'] = false;
    
    /**
     * MySQL control user settings (this user must have read-only
     *
     * @global string $cfg['Servers'][$i]['controluser']
     */
    $cfg['Servers'][$i]['controluser'] = '';
    
    /**
     * access to the "mysql/user" and "mysql/db" tables). The controluser is also
     * used for all relational features (pmadb)
     *
     * @global string $cfg['Servers'][$i]['controlpass']
     */
    $cfg['Servers'][$i]['controlpass'] = '';
    
    /**
     * Authentication method (valid choices: config, http, signon or cookie)
     *
     * @global string $cfg['Servers'][$i]['auth_type']
     */
    $cfg['Servers'][$i]['auth_type'] = 'config';
    
    /**
     * MySQL user
     *
     * @global string $cfg['Servers'][$i]['user']
     */
    $cfg['Servers'][$i]['user'] = 'root';
    
    /**
     * MySQL password (only needed with 'config' auth_type)
     *
     * @global string $cfg['Servers'][$i]['password']
     */
    $cfg['Servers'][$i]['password'] = 'miapassword';
    
    /**
     * Session to use for 'signon' authentication method
     *
     * @global string $cfg['Servers'][$i]['SignonSession']
     */
    $cfg['Servers'][$i]['SignonSession'] = '';
    
    /**
     * URL where to redirect user to login for 'signon' authentication method
     *
     * @global string $cfg['Servers'][$i]['SignonURL']
     */
    $cfg['Servers'][$i]['SignonURL'] = '';
    
    /**
     * URL where to redirect user after logout
     *
     * @global string $cfg['Servers'][$i]['LogoutURL']
     */
    $cfg['Servers'][$i]['LogoutURL'] = '';
    
    /**
     * Whether to try to connect without password
     *
     * @global boolean $cfg['Servers'][$i]['nopassword']
     */
    $cfg['Servers'][$i]['nopassword'] = false;

  2. #2
    Ho trovato questo...

    "The phpmyadmin username is “administrator” by default and the password is the same that MySQL root user."

    ...Prova un po'

  3. #3

    Grandioso!

    Bella lì! Ora riesco ad entrare! Grazie mille!!!

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.