firebird

Docker PHP 扩展配置

前提是你 提交于 2020-08-11 13:22:10
# PHP 容器配置 # 从官方基础版本构建 FROM php: 7.2 - fpm # 官方版本默认安装扩展: # Core, ctype, curl # date, dom # fileinfo, filter, ftp # hash # iconv # json # libxml # mbstring, mysqlnd # openssl # pcre, PDO, pdo_sqlite, Phar, posix # readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard # tokenizer # xml, xmlreader, xmlwriter # zlib # 1.0 . 2 增加 bcmath, calendar, exif, gettext, sockets, dba, # mysqli, pcntl, pdo_mysql, shmop, sysvmsg, sysvsem, sysvshm 扩展 RUN docker -php-ext-install - j$(nproc) bcmath calendar exif gettext \ sockets dba mysqli pcntl pdo_mysql shmop sysvmsg sysvsem sysvshm # 1.0 .

Odoo学习笔记(一)搭建windows开发环境

拟墨画扇 提交于 2020-08-05 01:21:29
前言: 虽然很多人都说学习odoo,最好是linux开发环境,可是我这业余选手有不是只做开发,还有好多活是在windows上做的,我还是做windows开发环境吧。 开始学习Odoo之前,需要具备一些基础知识: 下载git源码、配置python虚拟环境、基本了解数据库服务器的部署和连接、python编程基础知识。 部署Odoo需要掌握Docker,起码知道如何下载hub.docker.com的镜像并运行起来,Docker的持久化存储。 进阶掌握:ldap认证。 我用的环境: windows10 家庭版 pycharm 2019.2.4教育认证免费专业版 编写python程序的IDE工具 python-3.7.6-amd64 python解释器 haosql-postgreSql 绿色版数据库 Navicat Premium 12.0.18(64bit) 导航猫专业版 v12.0.11 数据库管理工具、 Git 2.24.0.windows2 Git软件 TortoiseGit-2.10.0.2-64bit Git的一个图形辅助工具 TortoiseGit-LanguagePack-2.10.0.0-64bit-zh_CN TortoiseGit中文包 node-v12.16.3-x64 odoo要求使用的Node.js wkhtmltox-0.12.5-1.msvc2015

Call to undefined function ibase_connect() in Codeigniter

半城伤御伤魂 提交于 2020-07-29 13:01:47
问题 I can not connect to a local bank in firebird. Since I enabled the following extensions in php.ini but not getting any results. extension=php_interbase.dll extension="interbase.so" extension=php_pdo_firebird.dll I have also done interbase.so download the file and copy it to the folder: /opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/ I'm using: XAMPP 5.6.8 / PHP 5.6.8 (64bit) Linux 14.04 LTS (64bit) My file database.php $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost',

Call to undefined function ibase_connect() in Codeigniter

 ̄綄美尐妖づ 提交于 2020-07-29 13:01:28
问题 I can not connect to a local bank in firebird. Since I enabled the following extensions in php.ini but not getting any results. extension=php_interbase.dll extension="interbase.so" extension=php_pdo_firebird.dll I have also done interbase.so download the file and copy it to the folder: /opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/ I'm using: XAMPP 5.6.8 / PHP 5.6.8 (64bit) Linux 14.04 LTS (64bit) My file database.php $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost',

C#的dapper使用

感情迁移 提交于 2020-07-26 04:32:24
Dapper是一款轻量级ORM工具( Github )。如果你在小的项目中,使用Entity Framework、NHibernate 来处理大数据访问及关系映射,未免有点杀鸡用牛刀。你又觉得ORM省时省力,这时Dapper 将是你不二的选择。 为什么选择Dapper 轻量。只有一个文件( SqlMapper.cs ),编译完成之后只有120k(好象是变胖了) 速度快。Dapper的速度接近与IDataReader,取列表的数据超过了DataTable。 支持多种数据库。Dapper可以在所有Ado.net Providers下工作,包括sqlite, sqlce, firebird, oracle, MySQL, PostgreSQL and SQL Server 可以映射一对一,一对多,多对多等多种关系。 性能高。通过Emit反射IDataReader的序列队列,来快速的得到和产生对象,性能不错。 支持FrameWork2.0,3.0,3.5,4.0,4.5 Dapper的安装 方法一:使用NuGet安装 打开visual studio的项目,依次点击 工具 , NuGet包管理器 , 管理解决方案的NuGet程序包 ; 再点击 浏览 , 搜索dapper , 点击搜索结果中的Dapper , 勾选项目 , 选择安装 ; 在 解决方案管理器中点击项目 , 查看引用 ,如果有

Firebird connection on a local database impossible within a Python script

房东的猫 提交于 2020-07-22 06:08:29
问题 I can connect to my Firebird database using Firebird ISQL Tool (Firebird 3.0.4) with the following command: connect "C:\Documents\database.db" user 'USER' password 'PASSWORD'; When I want to do it in a Python script (Python v3.7.7 on a Windows10 64 bits), in a virtual environment including fdb v2.0.1 or even firebirdsql v1.1.3, I can't and I systematically get an error. import fdb con = fdb.connect(database="C:\Documents\database.db", user='USER' password='PASSWORD'') DatabaseError: ('Error

Firebird database replication

你。 提交于 2020-07-17 11:26:46
问题 I have reached the point where I've decided to replace my custom-built replication system with a system that has been built by someone else, mainly for reliability purposes. Can anyone recommend any replication system that is worth it? Is FiBRE any good? What I need might be a little away from a generic system, though. I have five departments with each having it's own copy of the database, and the master in a remote location. The departments all have sporadic internet connection, the master

Firebird database replication

怎甘沉沦 提交于 2020-07-17 11:26:18
问题 I have reached the point where I've decided to replace my custom-built replication system with a system that has been built by someone else, mainly for reliability purposes. Can anyone recommend any replication system that is worth it? Is FiBRE any good? What I need might be a little away from a generic system, though. I have five departments with each having it's own copy of the database, and the master in a remote location. The departments all have sporadic internet connection, the master

Spring Data JDBC Firebird dialect not recognized

爷,独闯天下 提交于 2020-07-06 19:27:06
问题 I'm trying to connect to Firebird database using Spring Data JDBC and Spring Boot. I've created a simple app using Spring Tools. Spring Data JDBC doesn't recognize the dialect. I believe the problem is that the DialectResolver doesn't support Firebird. private static Dialect getDialect(Connection connection) throws SQLException { DatabaseMetaData metaData = connection.getMetaData(); String name = metaData.getDatabaseProductName().toLowerCase(Locale.ENGLISH); if (name.contains("hsql")) {