PDA

View Full Version : Pb with EasyPHP


el muchacho
21-04-05, 08:19 PM
Hello,

I've tried to upgrade dp from v1.02 with EasyPHP 1.8 to v2.01, but I'm having the following message when I type the URL http://localhost/dotproject in my browser :

Warning: mysql_pconnect(): Accès refusé pour l'utilisateur: 'admin'@'@localhost' (mot de passe: OUI) in d:\program files\easyphp1-8\www\dotproject\lib\adodb\drivers\adodb-mysql.inc.php on line 343
FATAL ERROR: Connection to database server failed


So it says that the access is refused for user 'admin'@'@localhost' and the password is "OUI".
My problem is, I don't know where this password comes from (obviously some default pass somewhere in EasyPHP), and how to change it. :confused: It's not a password that I've set.
I face the same problem with a new installation of dotproject v2, without trying to upgrade the current database.
Does anyone have an idea ?

Thanx.

Config:
PHP 4.3.10
MySQL 4.1.9
Apache 1.3.33
WinXP

dumarjo
22-04-05, 01:36 AM
it's starnge. I have easyphp 1.8 and dp 2.0 installed and work correctly.

Jonathan

el muchacho
22-04-05, 05:46 PM
Hi there,

How did you procede for installation ?

I see that I am not the only person facing this problem (see "Connection to database server failed").
I believe it's a problem with MySQL password. For some reason, PHP passes OUI/YES to MySQL instead of the correct password.

edit: It's actually in the FAQ

dumarjo
23-04-05, 02:39 AM
I have install it as per the manual. I have do step by step and work great. Have you set the permission corrctly to you dp_user for the database connection ?


regards

Jonathan

el muchacho
29-04-05, 09:08 PM
I've just decided to start from scratch. It works, but I didn't keep the previous data.