Firebird (mac) Create a database

Many MAC users when trying to create a database would see this error.

Can not access lock files directory /tmp/firebird/

In order to fix this you have two options:

  • Give write/read permissions to `/tmp/firebird` to your user
  • use sudo to run isql

Let’s fix the problem using sudo

  • cd /Users/YOUR_USER/`
  • mkdir dbs
  • $ cd /Library/Frameworks/Firebird.framework/Resources
  • $ isql sudo
  • Type your password
  • create database '/Users/marcio/Dev/_DBS/test.fdb' user 'SYSDBA' password
  • exit;

Leave a Reply

Close Menu