POCKET WEB STUDIO / FEATURES

Design your MySQL database

Plan database structures locally, generate SQL scripts and prepare your server-side project on iPhone or iPad.

Download on the App Store
Design your MySQL database

Design before deploying

Create a schema with tables and columns, choose appropriate data types and define primary keys, unique fields and relationships. A visual schema makes it easier to think through your data before writing application code.

Export usable SQL

  • Create and edit table definitions.
  • Set keys, indexes and relationships.
  • Review generated MySQL 8.0+ SQL.
  • Share the SQL script or create a database project with a PHP connection example.

A simple example

A blog can store authors in one table and posts in another. Each post can reference an author ID so that author information does not need to be repeated.

CREATE TABLE authors (
  id INT PRIMARY KEY AUTO_INCREMENT,
  name VARCHAR(255) NOT NULL
);
CREATE TABLE posts (
  id INT PRIMARY KEY AUTO_INCREMENT,
  author_id INT NOT NULL,
  title VARCHAR(255) NOT NULL,
  FOREIGN KEY (author_id) REFERENCES authors(id)
);

Where the database runs

Database Studio is a schema design and SQL generation tool, not a live MySQL server or database administration client. Review scripts before importing them into a compatible MySQL environment. Keep database credentials outside the public document root and never put them in browser JavaScript.

Ready to build your next website?

Take your ideas, code and projects wherever you go. £0.99 UK App Store price; prices vary by region.

Download on the App Store