firebird

“connection rejected by remote interface” connecting to Firebird 3 with PDO

一笑奈何 提交于 2019-12-03 06:31:50
Try code below, but cause exception - SQLSTATE[HY000] [335544421] connection rejected by remote interface : try { $dbh = new PDO("firebird:dbname=localhost/3050:empty", "SYSDBA", "masterkey"); $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sth = $dbh->query('SELECT idmspos, idmsqnt, cdmsval from svc$dms'); $sth->setFetchMode(PDO::FETCH_ASSOC); while($row = $sth->fetch()) { echo $row['idmspos']." ".$row['idmsqnt']." ".$row['cdmsval']."<br>"; } $dbh = null; } catch(PDOException $e) { $dbh = null; echo $e->getMessage(); } Specs: Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u1

Using Delphi data-aware components - pros and cons [closed]

不羁岁月 提交于 2019-12-03 05:13:42
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . I want to know your opinion about using data-aware components in projects. Which are the 'strength' and 'weak' points of developing applications(win32 and web), by using Delphi and data-aware components(from Delphi's standard suite or third-party)? Using FireBird I've worked

Firebird x Windows 7 x gds32.dll error

寵の児 提交于 2019-12-03 03:28:07
I have a fdb file (firebird) from a new client (he doesn't know the version). I have tried to use some GUI to access the database, but with no luck. All of them tell that its missing gds32.dll, but I have this one. I have copied this dll to the GUI folder, I have copied the dll to system32 folder and I have copied to syswow64. I am running Windows 7 64 bits and the firebird database is 32 bits. I have tried to install the dll but I can't register it. I have installed WinXP in a virtual machine to see if it runs, but nothing. The regsvr32 tells me that it is not an executable file... in Win 7

Opening a Firebird database file on a network share

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I thought converting a mapped drive letter to a UNC path would be enough to be able to open a .GDB file, but alas: function ConvertToUNCPath(AMappedDrive: string) : string; var lRemoteString : array[0..255] of char; lpRemote : PChar; lStringLen : Cardinal; begin lpRemote := @lRemoteString; lStringLen := 255; If WNetGetConnection(Pchar(ExtractFileDrive(AMappedDrive)) , lpRemote, lStringLen) = NO_ERROR Then Result := lRemoteString else Result := ''; // No mapping found end; function TDataModuleData.OpenGDBDatabase(AGDBName: string) : Boolean;

SpagoBI + Firebird DataSource (The result set is closed)

匿名 (未验证) 提交于 2019-12-03 01:36:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Spagobi version 3.6.0, Jaybird-2.2.2JDK_1.7 and Firebird 2.5 (x64). I set up a datasource and the testing is OK. I set up a dataset and the preview shows the correct list of colunms, only there is no data. Access via some other SQL viewer shows the data. The error message in the Catalina log is: org.firebirdsql.jdbc.FBSQLException: The result set is closed Does anybody have an idea what I did wrong? 回答1: After some testing the solution to your problem is to specify the connection property defaultHoldable=true in the connection URL

易飞ERP API接口调用DEMO

天大地大妈咪最大 提交于 2019-12-03 01:35:13
一、使用场景: 1、需要开放ERP数据给第三方系统对接,如APP手机端开发,MES,OA等; 2、接口按现在主流开发,restful风格,传JSON数据,跨平台,不限开发工具; 3、不限易飞ERP,支持大部分主流数据库,包括Microsoft SQL Server、Oracle、MySQL、MariaDB、PostgreSQL、DB2、SQL Anywhere、Firebird、SQLite等 二、优点 : 1、只要会SQL就可以开放需要的数据,不需要编程基础。如图: ​ 三、测试DEMO: 下载地址: 点击 。 ​ ​ 来源: https://www.cnblogs.com/redhat588/p/11769392.html

Firebird or NexusDB

匿名 (未验证) 提交于 2019-12-03 01:22:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I know that there are many Delphi database related questions available, but I'm considering only these two databases. I will need to query around 100.000 records. From your experience which one is faster: as embedded as C/S Thanks. 回答1: I Haven't used Nexus tbh, but I use Firebird regulary (Client/Server) and I am absolutely loving it. It's small, fast, tries-to-be SQL92 compliant, and the management tools are f-a-n-t-a-s-t-i-c (see IBExpert, they have free edition aswell) The embedded version should be as good as the normal one. 回答2: For

Firebird 2.5 CHARACTER SET WIN1252 is not installed

匿名 (未验证) 提交于 2019-12-03 01:12:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've installed Firebird-Server 2.5 on FreeBsd 9.1 using: pkg install firebird-server-2.5.2_1 It's working ok, since I can connect using FlameRobin from an external PC. Now, when I try to restore a database using gbak, I got this: ... gbak: ERROR: CHARACTER SET WIN1252 is not installed gbak:Exiting before completion due to errors Should I install something more server side?. The database was created on a Windows machine, that's why its character set is WIN1252. EDIT: after some trouble I deinstalled firebird and reinstalled WITHOUT USING SUDO

SQL Firebird implementation in java/ IBSQL

匿名 (未验证) 提交于 2019-12-03 00:59:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: so tried to put that SQL code into my java-aplication: SELECT DISTINCT StRzImRo.Rohstoff, StRo.Bezeichnung, CAST (SUM(BwLsImAt.Lieferungen * StRzImRo.Menge * StAt.PROD__REZEPTURGEWICHT / Coalesce(StRz.PARM__BEZUGSGROESSE,1)) AS NUMERIC (9,3)) Rohstoffverbrauch_Gesamt FROM BwLsImAt JOIN StAt ON (StAt.IntRowId = BwLsImAt.Artikel) JOIN StRz ON (StRz.IntRowId = StAt.PROD__REZEPTUR) JOIN StRzImRo ON (StRzImRo.Master = StRz.IntRowId) JOIN StRo ON (StRzImRo.Rohstoff = StRo.IntRowId) WHERE StAt.IntRowId > 0 GROUP BY StRzImRo.Rohstoff, StRo

易飞ERP API接口调用DEMO

匿名 (未验证) 提交于 2019-12-03 00:15:02
一、使用场景: 1、需要开放ERP数据给第三方系统对接,如APP手机端开发,MES,OA等; 2、接口按现在主流开发,restful风格,传JSON数据,跨平台,不限开发工具; 3、不限易飞ERP,支持大部分主流数据库,包括Microsoft SQL Server、Oracle、MySQL、MariaDB、PostgreSQL、DB2、SQL Anywhere、Firebird、SQLite等 二、优点 : 1、只要会SQL就可以开放需要的数据,不需要编程基础。如图: 三、测试DEMO: 下载地址: 点击 。 来源:博客园 作者: redhat588 链接:https://www.cnblogs.com/redhat588/p/11769392.html