Since i lost my ZP admin password I deleted "Administrators" table in MySQL. I was prompt to insert DB info. I did but got "Access denied for user 'xxxxxxxx'@'localhost' (using password: NO). To make sure I'm entering right password I created a new db user and password but got the same error message. When i check the config file in zp-data all is written there but no access to db. Please help me to resolve this.
Hello: as this post is only 1 month old, I decided to use it rather than opening a new one.
Upgrading from 1.2.9. Tried to upgrade both to 1.3 and 1.4. Replicated upgrade situation in 2 shared servers and different domains and folder.
Always get the:
¡Error! Access denied for user (root user) @ (using password: NO)
Databases were always created prior to update, and authentication data verified by developer and by host.
Looks like 1.2.9 Zenphoto is trying to access the database with the root credentials used in the default installation in a local server /etc/phpmyadmin/config.inc.php:
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
I only say “looks like” as it is the same behavior, but can´t assure this is the problem.
Please advice.
Thanks
Hello acrylian; the fact is I enter the correct dbase credentials, but the script seems to try to authenticate using the default installation credentials as in:
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
When it should be using these:
$cfg['Servers'][$i]['auth-type']='config';
$cfg['Servers'][$i]['user']='usuario_mysql';
Any ideas?
Thanks
They are located in /etc/phpmyadmin/config.inc.php
The issue looks like (and I say only looks like) like a misconfiguration on the 1.2.9 script which for some reason tries to authenticate as user: root and password: " " (none).
Hostings (2 of them) said they can do nothing on their side, as the rest of the script connect fine; this is the one trying to connect with wrong credentials.
Please further advice.
Thanks.
That config file is of phpmyadmin which is a tool to access a MySQL database directly and has nothing to do with Zenphoto.
The files of a Zenphoto installation you find listed here:
http://www.zenphoto.org/news/installation-and-upgrading#4