Koozali.org: home of the SME Server

MySQL Connection Failed

alex

MySQL Connection Failed
« on: August 16, 2001, 07:42:58 PM »
hallo,

can anyone help me with following error?

Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in /home/e-smith/files/primary/html/phpadmin/lib.inc.php3 on line 281

what parameter do i have to customize?
i already patched the system with the e-smith-base-4.4.0-26.noarch.rpm bugfix!

thanx!

Dan Brown

Re: MySQL Connection Failed
« Reply #1 on: August 16, 2001, 07:54:41 PM »
You need to specify the MySQL root password.  Search here for mysql password; it's only been discussed about a zillion times.

alex

Re: MySQL Connection Failed
« Reply #2 on: August 16, 2001, 07:59:42 PM »
sorry.....i did it with:
mysqladmin -u root password newpassword

is this incorrect?

Dan Brown

Re: MySQL Connection Failed
« Reply #3 on: August 16, 2001, 08:05:51 PM »
Yes, that's incorrect.  You don't need to change the root password (which is what you just did), you need to tell phpadmin what it is.  Read the phpadmin docs to see what to change.

alex

Re: MySQL Connection Failed
« Reply #4 on: August 16, 2001, 08:08:35 PM »
thx, it works!

Gaetan

Re: MySQL Connection Failed
« Reply #5 on: September 04, 2001, 05:14:06 PM »
I've got the same problem ... What have you done to make it work please ?
Gaetan