Linux red hat,通过 mount 将驱动器连接到远程服务器(192.168.0.103)到 /mnt/databases 然后尝试连接
$idbh = ibase_connect("192.168.0.103/3050:/mnt/databases/XXX.IB", "SYSDBA", "masterkey", "WIN1251") or die(ibase_errmsg().' on line: '.__LINE__);
结果
ibase_connect(): I/O error for file "/mnt/databases/XXX.IB" Error while trying to open file unknown Win32 error 3
试试 stat /mnt/databases/XXX.IB
File: `/mnt/databases/XXX.IB'
Size: 46415872 Blocks: 90752 IO Block: 16384 regular file
Device: 17h/23d Inode: 1970324836974627 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-07-16 16:04:08.470709400 +0400
Modify: 2013-06-17 13:03:03.600143300 +0400
Change: 2013-06-17 13:03:03.600143300 +0400
为什么我连接不上?