skip to Main Content

How can I view the text input query that was used to create a database table?
I’m using MariaDB with PHPMyAdmin!

Edit: I remember I found it long ago, when clicking on edit or change or something similar! Damn it’s not easy to remember.

2

Answers


  1. As usual, the documentation is your friend:

    https://mariadb.com/kb/en/show-create-database/

    Login or Signup to reply.
  2. Most things can se seen with SHOW

    Show create database testdb
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search