I think a lot of these configuration problems are coming from people being confused by how to setup the database configuration screen.

Until such time as an installer script is written, does anyone have a problem with me changing the db config code to be more along the lines of:

db_host="";
db_name="";
db_username="";
db_password="";

and submitting this to CVS over the weekend?

-Geuis


On 11/10/05, Zachery Hostens <roundcube@plastik.us> wrote:
this seems to be a problem on a couple peoples plates.  there are a couple reasons for this, none im sure of are any of yours.

1. ensure the dsn is correct (yeah yeah)

2. if your going mysql://user:pass@localhost/db
  try changing it to mysql://user:pass@127.0.0.1/db

if all else fails bump the debugging up.

i had to do the latter due to apache running in a jail and i havent told mysql to make a replicate unix socket inside the jail as of yet.

On Thu, 10 Nov 2005 15:32:57 +0000, Pedro Inacio <pedro.inacio@honeynet-pt.org> wrote:
> same problem :((((
>
> cannot understand what is the problem
>
> On 2005/11/10, at 13:38, Jonathan Miller wrote:
>
>> Hi guys!
>>
>>
>>
>> RoundCube is exactly what I've been looking for.
>>
>>
>>
>> Everything seemed to install okay, however I'm having a problem
>> with my database connection.  I can connect fine through command
>> line sql using the username and password supplied
>>
>>
>>
>> Any ideas?
>>
>>
>>
>> PHP 5.0.5
>>
>> RoundCube build v0.1-20051021
>>
>> MySQL 4.1.14
>>
>>
>>
>> DB Error in D:wwwrootwebmail_deepblueonline_comwebrootprogram
>> includercube_db.inc (63): DB Error: connect failed
>>
>> Fatal error: Call to undefined function: query() inD:wwwroot
>> webmail_deepblueonline_comwebrootprogramincludercube_db.inc on
>> line 124
>>
>>
>>
>> View the error at http://webmail.deepblueonline.com
>>
>>
>>
>>
>>
>> Warmest regards,
>>
>> -Jonathan Miller
>>
>> jmiller@deepblueonline.com
>>
>> 336-712-4600 ext. 1003
>>
>> www.deepblueonline.com
>>
>>
>>
>>