Roundcube Community Forum

Release Support => Pending Issues => Topic started by: taylor1111 on June 03, 2008, 04:52:11 PM

Title: Connecting with to Godaddy MySQL Database
Post by: taylor1111 on June 03, 2008, 04:52:11 PM
Hello-

I am using the stable release of RoundCube Mail.  It is on my webserver, but I
keep getting this message.

DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.

I am using the correct format, and the correct hostname for my database, it just will not connect.  Any Suggestions?  I really do not want to install MySQL on our in house server as it is chuck full on processes as it is.

Thanks,

Taylor
Title: Connecting with to Godaddy MySQL Database
Post by: naveen519 on September 06, 2008, 03:17:33 AM
Even me too facing the same problem.

 The godaddy mysql server is working fine in connecting with other CMS like joomla and drupal. and even when i tried with the code.

  could not justify where the problem lies :(.
 
 i referred to the doc specified for the requirements of roundcube in the link http://trac.roundcube.net/wiki/Howto_Requirements and focused on the line

" MySQL or PostgreSQL database engine or the SQLite Extension for PHP

    * If using MySQL 5.0.2 or later, disable STRICT_TRANS_TABLES and STRICT_ALL_TABLES "

 the mysql version iam using is :
#  Server version: 5.0.45-log
# MySQL client version: 5.0.27
# Protocol version: 10
# Server: 10.6.166.194 via TCP/IP

 i might be failed in disabling STRICT_TRANS_TABLES and STRICT_ALL_TABLES in resolving the issue. i dint find these two parameters in my.ini.

PHP Version 4.3.11 is the version i am currently using.


Please help

Thank you in advance.
Title: Connecting with to Godaddy MySQL Database
Post by: naveen519 on September 08, 2008, 03:24:39 AM
i have got it upgraded the php version from php4.x to 5.x in my godaddy hosting plan, then the probelm disappeared.  :)