Thanks Dale for the prompt response.
You helped, albeit indirect! What you said got me thinking. I had 2
things wrong. First, PHP was looking in the wrong place for the .sock
file, and second MySQL had encrypted the passwords using a format that
PHP does not understand.
So, the resolution was:
1.) I linked /var/run/mysqld/mysqld.sock to /tmp/mysql.sock
2.) UPDATE mysql.user SET password=OLD_PASSWORD("mypassword") WHERE
User="root"
in mysql so that all was understood.
Phew! I have been on this for a week and i was going nuts! Onto the
next problem! Have a virtual beer on me. (b)
Daniel
Dale Hartung wrote:
I had this problem and fixed because there was no "/tmp/mysql.sock" ...now
your mileage may vary but make sure that your webserver can connect to the
db. Find out what your default connection is by running a phpinfo file.
The contents look like this:
#
<? phpinfo(); ?>
#
#
Then browse to the "mysql" section and look up your info
Dale
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, September 16, 2005 2:08 AM
To: [email protected]
Subject: [Web-cyradm] Database Error
Hi All,
I have been fighting with this for about a week now and I am ready to
throw in the towel! I turned on E_ALL to see all the error messages,
so here is my problem.
I have installed (as far as I can tell) ALL the required software to
make Web-cyradm work on a Debian Sarge server. So, I open a browser
and load the web-cyradm page. I enter in "admin" and my password and
the next screen is plain white with the error "Database Error", nothing
else. This occurs even if i log in with a non-existent account, so it
seems that I am not being authenticated.
MySQL is running and PEAR is installed. I have set the include path as
well. This has been stumped! I have seen a couple of people with the
same problem on this list but a resolution was never posted.
Please help!!!
Daniel
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm