English

BDD — Databases

BDD MySQL, MariaDB and PostgreSQL: the server, the databases, the tables, the rows — all of it is browsed like folders, and can be edited.

Declaring a connection

The engine, the host, the port, the user, the password, and a default database — optional: without it, the server opens on its administration database. A Windows service can be named to read its state, and Meneaufile fills it in by itself when it finds it.

The named service is one click away, from two places: “Open the service location” in the connection’s menu, and under the error when you enter a database whose service is stopped — the connection refused, the button leads into SRV, onto the service itself, where you restart it. Without it, you had to back out, find the row again and go through its menu.

The engine carries its icon, like the type of a NET entry: you choose in the dialog what you will recognise on the row.

A connection’s dialog: the engine, the host, the account, and the service that runs it.
A connection’s dialog: the engine, the host, the account, and the service that runs it.

Moving around

Server → databases → tables → rows. F12 switches between a table’s data and its structure. A database can be pinned to find it at the top.

The server also has its own views: accounts, running queries, server status, server settings, routines. They are read-only; their actions are in the right-click menu — change a password, set a variable, kill a process.

The rows

The structure

The fields with their type, collation, default value, attributes, comment; the indexes with their nature (primary key, unique, index) and their method. A field is added at the start, at the end or after another — PostgreSQL always adds at the end of the table, and says so.

A type picker sorts the engine’s types by family: integers, decimals, text, dates and times, binary. You filter them by typing.

Empty a table (truncate) removes all its rows, keeps the table, and resets the auto-increment to zero. There is no recycle bin on a server: this is said beforehand.

The relationship graph

“Relationship graph” draws the tables and their joins.

Export to a folder

A table has no bytes: it cannot be copied like a file. What you get from it on a disk is an SQL export.

Import, clone

Queries

An SQL query is written on the open database and sent with Ctrl+Enter. Recent queries are offered. The result is a list like any other: you sort in it, select in it, export it.

The SQL log keeps everything that was sent, with the number of rows touched. It can be copied and cleared.

Compare two tables

F8 on two tables compares their structures: with no bytes, it is the fields and the indexes that are set against each other. See Compare.

Remove

Removing a connection takes it off the list along with its password. The server is not touched.

Meneaufile manual, in English.