Firebird Database on MacOSX

Source: Internet
Author: User
Tags firebird database

Firebird Database

Firebird is an excellent embedded (one feature) that is best suited for desktop development. Previously also used SQLite to do some small tools, but poor security performance, and does not support the characteristics of stored procedures, after the final turn to Firebird, collation of the following commonly used command statements and SQL.

User Management
Gsec-user sysdba-password masterkeymodify sysdba-pw gtlionsadd gtlions-pw gtlionsquit
Create a database
Isqlcreate database ' gtlions.fdb ' user ' SYSDBA ' password ' gtlions ' default character set Utf8;create database ' GTLIONS1.FD B ' user ' gtlions ' password ' g1!tlion ' default character set gbk;exit;
Connecting to a database
isql gtlions.fdb-user sysdba-password gtlionsisql gtlions.fdb-u gtlions-p ' g1!tlion ' isql gtlions1.fdb-u gtlions-p GT Lions
Configuration after the installation is complete, disable startup
sudo launchctl unload/library/launchdaemons/org.firebird.gds.plistsudo launchctl unload/system/library/ Launchagents/com.apple.bird.plist
Unload script
VI script_for_remove_firebird.sh#!/bin/shecho "Clean Services" echo "Clean User" DSCL localhost-delete/local/default/ Users/firebirdecho "Clean Group" DSCL localhost-delete/local/default/groups/firebirdif [-F "/library/startupitems/ Firebird "]; Thenecho "Remove superserver startupitem" Rm-fr/library/startupitems/firebirdfiif [-F "/library/launchdaemons/ Org.firebird.gds.plist "]; Thenecho "Remove launchd" Launchctl unload/library/launchdaemons/org.firebird.gds.plistrm/library/launchdaemons/ Org.firebird.gds.plistfiecho "Remove Framework" Rm-fr/library/frameworks/firebird.frameworkecho "Remove Receipt" rm- Fr/library/receipts/firebird*.pkgsudo Launchctl Unload/library/launchdaemons/org.firebird.gds.plist

Firebird Database on MacOSX

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.