Sqlite database browser что это такое

Sqlite database browser что это такое

Одним из популярных графических клиентов для SQLite является программа DB Browser for SQLite , которая доступна по адресу https://sqlitebrowser.org/.

Для установки графического клиента перейдем на страницу загрузок https://sqlitebrowser.org/dl/, где мы можем найти различые варианты пакетов для разных операционных систем и архитектур:

Например, в моем случае ОС — Windows 64x, поэтому я выбираю пакет DB Browser for SQLite — Standard installer for 64-bit Windows , который представляет установщик программы для 64-битной Windows.

После установки запустим программу:

Нам откроется следующее окно

В рамках данной программы для управления базой данных мы можем использовать как графические возможности, так и запросы SQL. Так, создадим базу данных. Для этого нажмем на кнопку New Database (или через меню File -> New Database ). Далее нам будет предложено указать место и имя новой бд. Например, в моем случае файл базы данных будет называться people.db

Впоследствии созданную базу данных можно будеть открыть с помощью кнопки Open Database или через меню File -> Open Database .

После этого нам будет предложено создать первую таблицу

На этом окне в поле Table введем в качестве названия таблицы Users .

На вкладке Fields , которая содержит определения столбцов, нажмем на кнопку Add . И после нажатия в таблицу чуть ниже кнопки будут добавлять определения столбцов таблицы. Для первого столбца укажем в качестве имени Name , а в качестве типа — TEXT . Для второго столбца укажем в качестве имени Age , а в качестве типа — INTEGER .

То есть у нас будет таблица User со столбцами Name и Age.

После определения столбцов нажмем на кнопку OK, и программа сгенерирует новую таблицу:

Для управления данными перейдем на вкладку Browse Data . По умолчанию у нас нет никаких данных

Добавим в таблицу одну строку. Для этого на панели инструментов нажмем на кнопку и в добаленную строку введем какие-нибудь данные:

После добавления данных (впрочем как и после их изменения и удаления) для подтверждения изменений нажмем на панели инструментов на кнопку Write Changes (или на пункт меню File -> Write Changes ). И данные будут записаны в базу данных.

Выполнение запросов SQL

Также для упавления таблицами и данными можно использовать запросы SQL. Для написания и выполнения запроса SQL перейдем на вкладку Execute SQL

После этого в центральной части программы откроется окно для ввода скрипта SQL. Введем в него следующую команду:

Здесь создается таблица users2, которая фактически аналогична ранее созданной таблице users. Она также имеет два столбца name и age. И в нее добавляюся две строки.

Для выполнения этого кода нажмем на синюю стрелку на панели инструментов. И после запуска кода SQL мы сможем увидеть отчет о его выполнения

После добавления мы можем получить данные. Для этого введем следующий код:

И также нажмем на кнопку выполнения кода SQL:

Либо можем те же данные увидеть в графическом дизайнере:

Читайте также:  Logic analyzer 24m 8ch software linux

Источник

About

This program was developed originally by Mauricio Piacentini (@piacentini) from Tabuleiro Producoes, as the Arca Database Browser. The original version was used as a free companion tool to the Arca Database Xtra, a commercial product that embeds SQLite databases with some additional extensions to handle compressed and binary data.

The original code was trimmed and adjusted to be compatible with standard SQLite 2.x databases. The resulting program was renamed SQLite Database Browser, and released into the Public Domain by Mauricio. Icons were contributed by Raquel Ravanini, also from Tabuleiro. Jens Miltner (@jmiltner) contributed the code to support SQLite 3.x databases for the 1.2 release.

Pete Morgan (@daffodil) created an initial project on GitHub with the code in 2012, where several contributors fixed and improved pieces over the years. RenГ© Peinthor (@rp-) and Martin Kleusberg (@MKleusberg) then became involved, and were the main driving force from that point. Justin Clift (@justinclift) started the new github.com/sqlitebrowser organisation on GitHub, (roughly) co-ordinates the project, and creates our Windows and macOS nightly builds.

John T. Haller, of PortableApps.com fame, created the new logo. He based it on the Tango icon set (public domain).

In August 2014, the project was renamed to “Database Browser for SQLite” at the request of Richard Hipp (creator of SQLite), as the previous name was creating unintended support issues.

In September 2014, the project was renamed to “DB Browser for SQLite”, to avoid confusion with an existing application called “Database Browser”.

Источник

Downloads

Windows

Our latest release (3.12.2) for Windows:

Windows PortableApp

Note — If for any reason the standard Windows release does not work (e.g. gives an error), try a nightly build (below).

Nightly builds often fix bugs reported after the last release. 😄

macOS

Our latest release (3.12.2) for macOS:

Homebrew

If you prefer using Homebrew for macOS, our latest release can be installed via Homebrew Cask:

Nightly builds

Download nightly builds for Windows and macOS here:

Linux

Our latest release is available as an AppImage, Snap packages, and distribution specific packages:

AppImage

Remember to change it’s permission bits to be executable before you run it. 😄

Snap packages

Snap Release build

Snap Nightly builds

Other distribution specific instructions:

Arch Linux

Arch Linux provides an up to date version

Install with the following command:

Fedora

Install for Fedora (i386 and x86_64) by issuing the following command:

openSUSE

Debian

Note that Debian focuses more on stability rather than newest features. Therefore packages will typically contain some older version, compared to the latest release.

Update the cache using:

Install the package using:

Ubuntu and Derivatives

Stable release

For Ubuntu and derivaties, @deepsidhu1313 provides a PPA with the latest release here:

To add this ppa just type in these commands in terminal:

Then update the cache using:

Install the package using:

Ubuntu 14.04.X, 15.04.X, 15.10.X and 16.04.X are supported for now (until Launchpad decides to discontinue building for any series).

Ubuntu Precise (12.04) and Utopic (14.10) are not supported:

  • Precise does not have a new enough Qt package in its repository by default, which is a dependency
  • Launchpad does not support Utopic any more, which has reached its End of Life

Nightly builds

Nightly builds are available here:

To add this ppa, type these commands into the terminal:

Читайте также:  User from uid linux

Then update the cache using:

Install the package using:

Other Linux

On others, compile DB4S using the instructions in BUILDING.md.

FreeBSD

DB Browser for SQLite works well on FreeBSD, and there is a port for it (thanks to lbartoletti 😄). DB4S can be installed using either this command:

Источник

DB Browser for SQLite

The Official home of the DB Browser for SQLite

2017-09-28 — Added PortableApp version of 3.10.1. Thanks John. 🙂
2017-09-20 — DB Browser for SQLite 3.10.1 has been released! 😀
2017-09-08 — Removed the continuous AppImage builds for Linux due to problems with the upload script.

Screenshot

What it is

DB Browser for SQLite is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.

It is for users and developers wanting to create databases, search, and edit data. It uses a familiar spreadsheet-like interface, and you don’t need to learn complicated SQL commands.

Controls and wizards are available for users to:

  • Create and compact database files
  • Create, define, modify and delete tables
  • Create, define and delete indexes
  • Browse, edit, add and delete records
  • Search records
  • Import and export records as text
  • Import and export tables from/to CSV files
  • Import and export databases from/to SQL dump files
  • Issue SQL queries and inspect the results
  • Examine a log of all SQL commands issued by the application

What it is not

This program is not a visual shell for the sqlite command line tool. It does not require familiarity with SQL commands. It is a tool to be used both by developers and by end users, and it must remain as simple to use as possible in order to achieve its goals.

Nightly builds

Nightly builds for Windows and OSX can be downloaded here:

Windows

Windows releases can be downloaded here:

Note — If for some reason the standard Windows release doesn’t work for you (eg it gives an error), try a nightly build. They often fix bugs reported after the last release. 😀

MacOS X / macOS

DB Browser for SQLite works well on MacOS X / macOS.

  • OSX 10.8 (Mountain Lion) — 10.13 (High Sierra) are tested and known to work

OSX releases can be downloaded here:

brew cask install db-browser-for-sqlite

Linux

DB Browser for SQLite works well on Linux.

Arch Linux

Arch Linux provides a package through pacman.

Fedora

For Fedora (i386 and x86_64) you can install by issuing:

$ sudo dnf install sqlitebrowser

Debian

Note that Debian focuses more on stability rather than newest features. Therefore packages will typically contain some older (but well tested) version, compared to the latest release.

Update the cache using:

sudo apt-get update

Install the package using:

sudo apt-get install sqlitebrowser

Ubuntu and Derivatives

Stable release

For Ubuntu and derivaties, @deepsidhu1313 provides a PPA with our latest release here:

To add this ppa just type in these commands in terminal:

sudo add-apt-repository -y ppa:linuxgndu/sqlitebrowser

Then update the cache using:

sudo apt-get update

Install the package using:

sudo apt-get install sqlitebrowser

Ubuntu 14.04.X, 15.04.X, 15.10.X and 16.04.X are supported for now (until Launchpad decides to discontinue building for any series).

Ubuntu Precise (12.04) and Utopic (14.10) are not supported:

  • Precise doesn’t have a new enough Qt package in its repository by default, which is a dependency
  • Launchpad doesn’t support Utopic any more, as that has reached its End of Life
Читайте также:  Как печатать на мфу после заправки картриджа

Nightly builds

Nightly builds are available here:

To add this ppa just type in these commands in terminal:

sudo add-apt-repository -y ppa:linuxgndu/sqlitebrowser-testing

Then update the cache using:

sudo apt-get update

Install the package using:

sudo apt-get install sqlitebrowser

Other Linux

On others you’ll need to compile it yourself using the (simple) instructions in BUILDING.md.

FreeBSD

DB Browser for SQLite works well on FreeBSD, and there is a port for it (thanks to lbartoletti). It can be installed using either this:

# make -C /usr/ports/databases/sqlitebrowser install

# pkg install sqlitebrowser

Developer mailing list

Twitter

Website

Old project pages

Releases

  • Version 3.10.1 released — 2017-09-20
  • Version 3.10.0 released — 2017-08-20
  • Version 3.9.1 released — 2016-10-03
  • Version 3.9.0 released — 2016-08-24
  • Version 3.8.0 released — 2015-12-25
  • Version 3.7.0 released — 2015-06-14
  • Version 3.6.0 released — 2015-04-27
  • Version 3.5.1 released — 2015-02-08
  • Version 3.5.0 released — 2015-01-31
  • Version 3.4.0 released — 2014-10-29
  • Version 3.3.1 released — 2014-08-31 — Project renamed from «SQLite Database Browser»
  • Version 3.3.0 released — 2014-08-24
  • Version 3.2.0 released — 2014-07-06
  • Version 3.1.0 released — 2014-05-17
  • Version 3.0.3 released — 2014-04-28
  • Version 3.0.2 released — 2014-02-12
  • Version 3.0.1 released — 2013-12-02
  • Version 3.0 released — 2013-09-15
  • Version 3.0rc1 released — 2013-09-09 — Project now on GitHub
  • Version 2.0b1 released — 2009-12-10 — Based on Qt4.6
  • Version 1.2 released — 2005-04-05
  • Version 1.1 released — 2004-07-20
  • Version 1.01 released — 2003-10-02
  • Version 1.0 released to public domain — 2003-08-19

History

This program was developed originally by Mauricio Piacentini (@piacentini) from Tabuleiro Producoes, as the Arca Database Browser. The original version was used as a free companion tool to the Arca Database Xtra, a commercial product that embeds SQLite databases with some additional extensions to handle compressed and binary data.

The original code was trimmed and adjusted to be compatible with standard SQLite 2.x databases. The resulting program was renamed SQLite Database Browser, and released into the Public Domain by Mauricio. Icons were contributed by Raquel Ravanini, also from Tabuleiro. Jens Miltner (@jmiltner) contributed the code to support SQLite 3.x databases for the 1.2 release.

Pete Morgan (@daffodil) created an initial project on GitHub with the code in 2012, where several contributors fixed and improved pieces over the years. René Peinthor (@rp-) and Martin Kleusberg (@MKleusberg) then became involved, and have been the main driving force from that point. Justin Clift (@justinclift) helps out with testing on OSX, and started the new github.com/sqlitebrowser organisation on GitHub.

John T. Haller, of PortableApps.com fame, created the new logo. He based it on the Tango icon set (public domain).

In August 2014, the project was renamed to «Database Browser for SQLite» at the request of Richard Hipp (creator of SQLite), as the previous name was creating unintended support issues.

In September 2014, the project was renamed to «DB Browser for SQLite», to avoid confusion with an existing application called «Database Browser».

License

DB Browser for SQLite is bi-licensed under the Mozilla Public License Version 2, as well as the GNU General Public License Version 3 or later.

You can modify or redistribute it under the conditions of these licenses.

This page was generated by GitHub Pages using the Architect theme by Jason Long.

Источник

Поделиться с друзьями
КомпСовет
Adblock
detector