Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: frax on August 15, 2010, 04:42:34 PM

Title: Installation problem, MySQL
Post by: frax on August 15, 2010, 04:42:34 PM
Hi, I am trying to install Roundcube on a Windows box (Windows 7 Home Premium 64-bit), deployed on Apache 2 with MySQL.

I have managed to get the installation/configuration working up to the point with the database connection - apparently roundcube/php is not able to communicate with the MySQL server (on the same box, the database server is working for other applications).

I have verified that the password/username and that the tables have been created.

The message in the errors file in the log folder is:
[15-Aug-2010 21:11:46] MDB2 Error: connect failed (-24): _doConnect: [Error message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

]
[Native code: 2002]
[Native message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

]


Any hints and tips? I guess my next step would be to turn on detailed logging for MySQL and see what happens on that end, or if the communication doesn't get that far even...
Title: Installation problem, MySQL
Post by: frax on August 16, 2010, 02:12:21 PM
Solved - I changed from localhost to 127.0.0.1 and then it worked, it had to do with sockets vs ip/port and how the database layer worked. I stumbled upon another configuration later, with the IMAP server, and changed to 127.0.0.1 there as well, and from then on Roundcube seems to work ok!