Acesso Banco de Dados Firebird 3.0.3 CentOS 7

02/05/2018

0

Olá

Instalei normalmente do firebird 3.0.3 no CentOS7 - Firebird-3.0.3.32900-0.amd64
-------------------------------------------------
[root@localhost firebird]# ps aux |grep firebird
firebird 1099 0.0 0.0 29644 1004 ? S 17:22 0:02 /opt/firebird/bin/fbguard -pidfile /var/run/firebird/firebird.pid -daemon -forever
root 16444 0.0 0.0 112680 972 pts/0 R+ 21:07 0:00 grep --color=auto firebird

tentando criar um banco de dados:
---------------------------------

[root@localhost bin]# ./isql
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database /home/teste.fdb page_size 8192 -user sysdba -password masterkey;
Statement failed, SQLSTATE = 42000
SQL error code = -104
-Token unknown
-/
SQL>

Tentando usa o gsec:
---------------------
[root@localhost bin]# ./gsec -user SYSDBA -password masterkey
*** gsec is deprecated, will be removed soon ***

Alterando a Senha do SYSDBA
---------------------------
[root@localhost bin]# ./gsec -user SYSDBA -password masterkey -database /opt/firebird/security3.fdb -modify sysdba -pw masterxxx
unable to open database
Could not find acceptable ICU library
[root@localhost bin]#

Instalação CentOS7
------------------
[root@localhost bin]# cat /etc/*-release
CentOS Linux release 7.4.1708 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.4.1708 (Core)
CentOS Linux release 7.4.1708 (Core)
[root@localhost bin]#


Alguem já passou por isso ???
se puder ajudar agradeço..


obrigado
Aparecido Silva

Aparecido Silva

Responder

Posts

09/08/2018

Marcio

Olá Aparecido.

Tive o mesmo problema mas era um erro na sintaxe. Tenta assim:

CREATE DATABASE '/home/teste.fdb' PAGE_SIZE 8192 USER 'sysdba' PASSWORD 'masterkey'
Responder

Assista grátis a nossa aula inaugural

Assitir aula

Saiba por que programar é uma questão de
sobrevivência e como aprender sem riscos

Assistir agora

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar