Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    PHPMyAdmin e aggiornamento pass

    Ciao a tutti
    Ho aggiornato il mio mysql server dalla versione 3 alla 4.1, il problema è che c'è plesk... quando creavo user da conenttersi non si connettevano restituendomi l'errore

    Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in /var/www/vhosts/dirockupati.it/httpdocs/conn.php on line 11
    Client does not support authentication protocol requested by server; consider upgrading MySQL client

    ora io ho seguito la pillola presente nel forum ed ho risolto facendo

    mysql> SET PASSWORD FOR
    -> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');

    e codi funziona... però ora c'è phpMyAdmin che fa i capricci... mi dice appena tento di connettermi

    Errore
    Messaggio di MySQL:
    #1045 - Access denied for user 'ht_mysql28456'@'localhost' (using password: YES)

    invece prima si connetteva a myadmin ma non riusciva a connettersi mysql...

    Come procedo????
    Grazie molte
    Luca
    http://WWW.HOSTINGTALK.IT
    Forum italiano dedicato all'hosting

  2. #2
    uppino
    http://WWW.HOSTINGTALK.IT
    Forum italiano dedicato all'hosting

  3. #3
    aprendo il config.inc.php vedo cose strane...

    Codice PHP:
    <?php
    /* $Id: config.inc.php,v 2.53 2005/06/07 16:44:39 lem9 Exp $ */
    // vim: expandtab sw=4 ts=4 sts=4:

    /**
     * phpMyAdmin Configuration File
     *
     * All directives are explained in Documentation.html
     */


    /**
     * Sets the php error reporting - Please do not change this line!
     */
    if (!isset($old_error_reporting)) {
        
    error_reporting(E_ALL);
        @
    ini_set('display_errors''1');
    }


    /**
     * Your phpMyAdmin url
     *
     * Complete the variable below with the full url ie
     *    [url]http://www.your_web.net/path_to_your_phpMyAdmin_directory/[/url]
     *
     * It must contain characters that are valid for a URL, and the path is
     * case sensitive on some Web servers, for example Unix-based servers.
     *
     * 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.
     *
     * If the auto-detection code does work properly, you can set to TRUE the
     * $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
     */
    $parsed parse_url($PHP_SELF);
    $base_url = isset($parsed['scheme']) ? $parsed['scheme'] : (in_vzcp_proxy() ? $_SERVER['HTTP_X_VZCP_PSA_PROTO'] : (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on') ? 'https' 'http'));
    $base_url .= '://';
    $base_url .= isset($parsed['user'])    ? ($parsed['user'] . (isset($parsed['pass']) ? (':' $parsed['pass']) : '') . '@') : '';
    $base_url .= isset($parsed['host'])    ? $parsed['host'] : (in_vzcp_proxy() ? array_shift(explode(':'$_SERVER['HTTP_X_FORWARDED_HOST'])) : $_SERVER['SERVER_NAME']);
    $base_url .= ':';
    $base_url .= isset($parsed['port']) ? $parsed['port'] : (in_vzcp_proxy() ? $_SERVER['HTTP_X_VZCP_PSA_PORT'] : $_SERVER['SERVER_PORT']);
    $cfg['PmaAbsoluteUri'] = $base_url '/domains/databases/phpMyAdmin';


    /**
     * Disable the default warning about $cfg['PmaAbsoluteUri'] not being set
     * You should use this if and ONLY if the PmaAbsoluteUri auto-detection
     * works perfectly.
     */
    $cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;

    /**
     * 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 ''.
    $i++;
    $cfg['Servers'][$i]['host']          = isset($db_ve_host) ? $db_ve_host 'localhost'// MySQL hostname or IP address
    $cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port
    $cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket
    $cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket')
    $cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli')
    $cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
                                                        // (requires PHP >= 4.3.0)
    $cfg['Servers'][$i]['controluser']   = '';
                                                        
    // MySQL control user settings
                                                        // (this user must have read-only
    $cfg['Servers'][$i]['controlpass']   = '';
                                                        
    // access to the "mysql/user"
                                                        // and "mysql/db" tables).
                                                        // The controluser is also
                                                        // used for all relational
                                                        // features (pmadb)
    $cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
    $cfg['Servers'][$i]['user']          = "$db_user";      // MySQL user
    $cfg['Servers'][$i]['password']      = "$db_pass";          // MySQL password (only needed
                                                        // with 'config' auth_type)
    $cfg['Servers'][$i]['only_db']       = "$db_name";          // If set to a db-name, only
                                                        // this db is displayed in left frame
                                                        // It may also be an array of db-names, where sorting order is relevant.
    $cfg['Servers'][$i]['verbose']       = '';          // Verbose name for this host - leave blank to show the hostname

    $cfg['Servers'][$i]['pmadb']         = ''// Database used for Relation, Bookmark and PDF Features
                                                        // (see
    Ho tagliato il codice se no non me lo faceva postare..

    spero in voi...
    http://WWW.HOSTINGTALK.IT
    Forum italiano dedicato all'hosting

  4. #4
    vedi dove sono valorizzate queste variabili...
    codice:
    $cfg['Servers'][$i]['user']     = "$db_user";   // MySQL user 
    $cfg['Servers'][$i]['password'] = "$db_pass";   // MySQL password (only needed 
                                                    // with 'config' auth_type)

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

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 © 2024 vBulletin Solutions, Inc. All rights reserved.