Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1109983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:19:25+00:00 2026-05-17T02:19:25+00:00

Trying to install roundcube webmail – had some issues related to driver configuration –

  • 0

Trying to install roundcube webmail – had some issues related to driver configuration – I’m now pretty certain the driver is configured ok now – i’m getting an error form it :

"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."

Now, this is from the following file:

<?php
// hostname or ip of server (for local testing, localhost should work)
$dbServer='localhost';

// username and password to log onto db server
$dbUser='*****';
$dbPass='*****';

// name of database
$dbName='roundcubemail';

    $link = mysql_connect("$dbServer", "$dbUser", "$dbPass")or die(mysql_error());
    print "Connected successfully<br>";
    mysql_select_db("$dbName") or die("Could not select database");
    print "Database selected successfully<br>";

// close connection
mysql_close($link);
?>

where the username and pass are good. In fact – i can use the same credentials to connect to the db instance through Toad.

In MSSQL you may need to tell the server to allow connections from remote machines and all that – but surely connecting through php is the same as connecting through Toad?

I’ve tried setting 127.0.0.1 instead of localhost in case it’s a case of connecting through the server name. Still no joy.

Is there anything else I may need to config to get this working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T02:19:26+00:00Added an answer on May 17, 2026 at 2:19 am

    I changed the server to 127.0.0.1:3306 and it connected!!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to install some gems under jruby 1.6, but getting connection refused: $ gem
I'm trying to install some Ruby Gems so I can use Ruby to notify
I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't
Trying to install Symfony 1.4.11 application on Ubutnu Server + Nginx + php-fpm Nginx
Trying to install pear package and keep getting this strange error. Can you shed
Trying to install Scrapy on Mac OSX 10.6 using this guide : When running
When trying to install my 32bit service on a Windows 64bit machine my installer
When trying to install the ADT plugin following Android Developper Site' instructions on a
While trying to install my application, when system tries to install .Net Framework, it
I am trying to install freeglut on my computer running Linux Mint. I follow

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.