質問

roundcubeウェブメールをインストールしようとしている - 私は今、ドライバーは今、[OK]を設定されているかなり確信している - - いくつかの問題は、ドライバの設定に関連していた私は、エラーのフォームを取得していてます:

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

は今、これは次のファイルからです

<?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);
?>

ユーザ名とパスが良好です。実際には - 私はヒキガエルを通じてDBインスタンスに接続するために同じ資格情報を使用することができます。

でMSSQLは、リモートマシンからの接続を許可するには、サーバーとすべてのことを伝える必要があるかもしれません - しかし確実に、PHPを介して接続することはヒキガエルを介して接続しているものと同じですか?

私はそれがサーバー名を介して接続した場合だ場合にはlocalhostの代わりに127.0.0.1を設定しようとしました。まだ喜びます。

あります何か私はこの作業を取得するために設定する必要があるかもしれません?

役に立ちましたか?

解決

!!私は127.0.0.1:3306にサーバーを変更し、それが接続されている。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top