sto cercando di collegarmi a mysql con phpmyadmin ma non riesco, ecco la situazione:
mysql è su un'altra macchina (la macchina si chiama iswiki) con linux centos, mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1;
phpmyadmin è invece sul mio client (172.16.12.90) con slackware64;
Ho ghià i permessi di accedere: se dalla mia shell digito mysql -h iswiki -u root -p e poi la password mi collego correttamente.
Ho scaricato phpmyadmin e l'ho messo sotto apache ma quando vi accedo via web e inserisco le stesse credenziali mi dice #2000 Impossibile eseguire il login nel server MySQL.
Il file config.inc.php è questo:
- Codice: Seleziona tutto
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '10.20.247.150';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
se invece come auth_type metto:
- Codice: Seleziona tutto
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'password';
mi esce l'errore #2000 - mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file.
Ho già provato a dare l'istruzione SET PASSWORD FOR root@172.16.12.90 = PASSWORD('password'); ma non cambia nulla...


...