Tablux

Tablux › Databases › MySQL

Database client

MySQL client for Mac, iPhone and iPad

Tablux is a MySQL and MariaDB client for the Mac that also runs on iPhone and iPad, with one purchase for all three. Enter host, port, database, user and password, connect directly or through an SSH tunnel, and work with tables, keys and SQL side by side on a Mac or with a SQL key bar on a phone. Read-only connections are read-only on the MySQL server too.

Tablux on iPhone showing query results in a grid with row numbers

What connecting needs

FieldWhat to enter
Host, PortThe server name and port, 3306 by default
DatabaseThe database (schema) to work in. Tablux shows one database per connection, so fill this in
User, PasswordYour login; the password is kept in the system keychain on this device
Use SSL / TLSOn by default. It encrypts; it does not verify the certificate
SSH tunnelOptional: SSH host, port, user, and a password or private key, with the host key pinned on first use
Environment, Read-onlyA Development, Staging or Production tag, and server-side read-only

The same form works for MariaDB. Test shows the server version before you save.

Amazon RDS and Aurora MySQL: use the endpoint from the console with port 3306 and leave SSL on. For an instance without public access, switch on the SSH tunnel and go through a bastion host in the same VPC (see SSH tunnels).

SQL on a Mac, iPhone or iPad

On a Mac or a wide iPad window you get schema, editor and results in three panes; ⌘+Return or F5 runs the selection or the whole script. On iPhone, the key bar above the keyboard has SELECT, JOIN, GROUP BY, quotes and brackets, and completes your own table and column names. Statements run one after another on the same connection, so transactions work across runs. A few to start with:

-- Largest tables in this database (row counts are InnoDB estimates)
SELECT table_name, table_rows,
       ROUND((data_length + index_length) / 1024 / 1024, 1) AS size_mb
FROM information_schema.tables
WHERE table_schema = DATABASE()
ORDER BY data_length + index_length DESC
LIMIT 20;
-- What the server is doing
SHOW FULL PROCESSLIST;
-- Orders per day for the last week (your own table and columns)
SELECT DATE(created_at) AS day, COUNT(*) AS orders
FROM orders
WHERE created_at >= CURDATE() - INTERVAL 7 DAY
GROUP BY day
ORDER BY day;

The AI assistant writes MySQL / MariaDB SQL from your schema and puts it in the editor; nothing runs until you run it.

What the schema view shows

The tables and views of the connection’s database, each with its columns and full column types (varchar(255), decimal(10,2)), nullability, primary key and foreign key targets, plus the row estimate MySQL keeps for each table. Tap a table to open its first 100 rows.

Results land in a grid that scrolls both ways, with row numbers and visible NULLs. Tap a row to see every value in full, then copy a value, the row as JSON or the whole result as CSV. A result stops at 5,000 rows and says so.

Insights on MySQL

Insights opens a second, read-only connection with a statement time limit (max_execution_time on MySQL, max_statement_time on MariaDB) and reads information_schema only:

  • size (data plus indexes), rows and index count per table
  • tables with no primary key
  • empty tables

There is no “foreign key without an index” check here because InnoDB creates an index for a foreign key itself when none exists. With the AI assistant set up, Insights can also build a dashboard of up to eight read-only queries from your schema, run on your device.

Read-only that MySQL enforces

With Read-only on, Tablux blocks writes in the app and runs SET SESSION TRANSACTION READ ONLY when it connects, so the server refuses writes to regular tables even if a statement slips past the app. MySQL still allows changes to TEMPORARY tables in a read-only transaction. For a guarantee independent of the client, use a user with only SELECT: see how to create a read-only MySQL user.

Tag a connection Production and anything that changes data asks before it runs. DELETE or UPDATE without WHERE, DROP and TRUNCATE are flagged on every connection, and on production you type the connection’s name to run them. A new connection tagged Production starts with Read-only switched on. More on production safety.

Limits

  • One database per connection: make another connection to browse a second database.
  • SSL encrypts but doesn’t verify the certificate. Use an SSH tunnel where identity matters.
  • No editing in the results grid; results stop at 5,000 rows.
  • No admin screens for users, replication or server variables: it is a query client.
  • Connections live on the device where you made them; no iCloud sync.

Questions

Does Tablux work with MariaDB?

Yes. Choose MySQL in the connection form; the same fields, read-only mode and Insights apply, with MariaDB’s max_statement_time used as the Insights time limit.

Is there a MySQL client for iPhone and Mac in one purchase?

Tablux is one App Store purchase ($9.99 in the US) for iPhone, iPad and Mac.

Why is the schema list empty?

Tablux shows the tables of the database named in the connection. Edit the connection and fill in Database.

Can it reach a MySQL server that only accepts local connections?

Yes, through an SSH tunnel to that server. Enter 127.0.0.1 and port 3306 as the host and port, since they are seen from the SSH server.

Try Tablux

Tablux is a MySQL and MariaDB client for Mac, iPhone and iPad: one purchase, $9.99.

Coming soon to the App StoreSee pricing