Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
if you changed your ehcp mysql dbuser pass, either restore it, or change pass in config.php too, in /var/www/vhosts/ehcp dir,
or alternatively, you may re-install ehcp.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 3
Joined: Feb 2025
Reputation:
0
I always get this error :
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ehcp'@'localhost' (using password: YES) in /var/www/vhosts/ehcp/config/adodb/drivers/adodb-mysql.inc.php on line 365
Error Occured while connecting to db, check your db settings...
This is mostly caused by wrong ehcp password in config.php
if you just installed ehcp, then learn/know your ehcp root password, then re-install ehcp..
I have tried 3 times to reinstall it, but error remain. And I've checked config.php and it's ok.
And I saw that there is not some new ehcp user in mysql or ehcp table... Maybe it can't connect to mysql server at installing? But I know 100% that password is correct.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
which version do you use ?
latest version is 0.29.12 and it does not install if you dont provide right password,
so, download latest version from www.ehcp.net/download
check your pass in config.php,
then, use that pass to check connection to mysql:
on server console:
mysql -u ehcp -p
then enter your password,
if it accepts, it is ok.
if not, your ehcp user in mysql is not correct.
make it correct.
i may also connect by ssh and investigate, if you wish.
Restored from old drupal forum, for user uid:2968 username:djanym
You may reset your password to access your new account here.
Posts: 0
Threads: 3
Joined: Feb 2025
Reputation:
0
mysql -u ehcp -p does not work. As I said that there is no user ehcp in mysql db and there is not ehcp db. And I use the latest version from www.ehcp.net/download.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 3
Joined: Feb 2025
Reputation:
0
I solved the problem. The problem was with the mysql root password. Maybe when you entering it and the script checking it - the check goes well... but when the script trying to make some real queries for creation DB etc. it can't connect.. I think the problem is with symbols in the mysql root pass, I think with '(' or '!'...
So I changed mysql root password to something simple like 'newpassword' and installation was successful.
Restored from old drupal forum, for user uid:2968 username:djanym
You may reset your password to access your new account here.