No problems on the db setup. PHP and
the DB were working fine. I tested PHP 4 and 5 and 5 using MySql 4.1.4
Both resulted in DB connect or extension
problems. On MySQL > 4.1.0 and PHP > 4, you’ll need to
manually enable extensions for php_mysqli.dll in the php.ini (notice the “i”
for improved) because the standard php_mySQL.dll will not work with newer
versions of SQL.
I have to run for now but will try to
write more details later. Good luck to all! I hope this is useful.
From: Geuis Teses
[mailto:geuis.teses@gmail.com]
Sent: Thursday, November 10, 2005
1:10 PM
To: dev@lists.roundcube.net
Subject: Re: db connect error
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()
>> 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
>>
>>
>>
>>