I have added the password using phpmyadmin. What make me curious is that round cube doesn't even try to connect on mysql. So, the error should be before mysql_connect() right?
-- Fernando Marcelo Morgenstern
Desenvolvimento de sistemas WEB multiplataforma.
--------- Mensagem Original -------- De: John Dennis jdennis@redhat.com Para: Fernando Marcelo Morgenstern fernando@tifacil.com.br Cópia: users@lists.roundcube.net Assunto: Re: Blank Page Data: 13/04/06 17:03
On Thu, 2006-04-13 at 16:48 -0300, Fernando Marcelo Morgenstern wrote: > Hey, it still not working. Can you tell if the mysql entry is right? > > $rcmail_config['db_dsnw'] = > 'mysql://roundcube:my_own_pass@localhost/roundcubemail'; > > For obvious reasons i have hidden my password. I have enabled logging
on
> mysql but i can't see any connection attempt from roundcube. About > php4-mysql, i have it working because i use mysql and php for a long
time
> with postfixadmin.
Just to be sure you're aware the password here is the database admin password, not a user's imap password, but I'm sure you knew that.
Did you set the database admin password when you created the database? If not you could do this:
% mysql use mysql update user set password=PASSWORD("my_own_pass") where
user="roundcube";
There are several ways to set the password in MySQL, this is just one
example.
Better yet, I submitted a script a few weeks ago that creates the MySQL database and allows one to reset the password. Much easier :-) It's part of the installation support I contributed, see
http://sourceforge.net/tracker/index.php?func=detail&aid=1460202&gro...
-- John Dennis <jdennis@redhat.com> Red Hat Inc.
On Thu, 2006-04-13 at 17:10 -0300, Fernando Marcelo Morgenstern wrote:
I have added the password using phpmyadmin. What make me curious is that round cube doesn't even try to connect on mysql. So, the error should be before mysql_connect() right?
The tarfile contains the file config/db.inc.php.dist but it needs to be renamed or copied to config/db.inc.php because that is the filename which is being loaded, did you edit the right file?
BTW, this is why I created an configuration support for roundcube, so people don't have to go through this frustration :-)