Warning: Cannot use a scalar value as an array in /home/admin/public_html/forum/include/fm.class.php on line 757

Warning: Invalid argument supplied for foreach() in /home/admin/public_html/forum/include/fm.class.php on line 770
Форумы портала PHP.SU :: Версия для печати :: Достук к InterBase
Форумы портала PHP.SU » PHP » Напишите за меня, пожалуйста » Достук к InterBase

Страниц (1): [1]
 

1. PYUV - 14 Апреля, 2009 - 13:34:07 - перейти к сообщению
в Delphi for PHP пишу
$host1="122.11.1.10:c:\.....\my.gdb";
$login1="SYSDBA";
$password1="pass";

$this->IBDatabase1->Host=$host1;
$this->IBDatabase1->UserName=$login1;
$this->IBDatabase1->UserPassword=$password1;
$this->IBDatabase1->Connected=true;

Ошибка
Warning: ibase_pconnect() [function.ibase-pconnect]: connection rejected by remote interface

имя и пароль пользователя действительны. к БД MSSQL подсоединяюсь

у чем причина может быть?
2. valenok - 16 Апреля, 2009 - 13:25:10 - перейти к сообщению
You need to edit either /etc/host.equiv or /etc/gds_hosts.equiv to allow
trusted connections. Generally, you just need to add a line with +. For
more information, look at the man page for hosts.equiv. Note that
editing gds_hosts.equiv is quickly documented on page 47 of the
Interbase 2007 Operations Guide.

********************* file contents ****************************/
# This file will allow InterBase to connect to the localhost
localhost
+
/********************* end of contents **************************/

 

Powered by ExBB FM 1.0 RC1