Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: alex on August 16, 2001, 07:42:58 PM

Title: MySQL Connection Failed
Post by: alex 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!
Title: Re: MySQL Connection Failed
Post by: Dan Brown 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.
Title: Re: MySQL Connection Failed
Post by: alex on August 16, 2001, 07:59:42 PM
sorry.....i did it with:
mysqladmin -u root password newpassword

is this incorrect?
Title: Re: MySQL Connection Failed
Post by: Dan Brown 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.
Title: Re: MySQL Connection Failed
Post by: alex on August 16, 2001, 08:08:35 PM
thx, it works!
Title: Re: MySQL Connection Failed
Post by: Gaetan on September 04, 2001, 05:14:06 PM
I've got the same problem ... What have you done to make it work please ?
Gaetan