E
E
Egorithm2016-05-18 13:24:23
MySQL
Egorithm, 2016-05-18 13:24:23

MySQL. How to view data schema (relationships between tables)?

You need to view the connections on the command line . As far as I understand, the link data is stored in the information_scheme database . But where exactly and what request should be created?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Aksentiev, 2016-05-18
@EgoRusMarch

dba.stackexchange.com/a/102374

A
Aleksandr, 2016-05-18
@cyberspy

Look for a program that can do "reverse" engineering of a MySQL database... (unfortunately I forgot the name!)
Such an application will practically make you a masterpiece in the form of a picture :)
Dig aside - dit.isuct.ru/Publish_RUP/core.base_rup/guidances /t...
(MySQL, alas, is not mentioned)

R
Rsa97, 2016-05-18
@Rsa97

If these links are not formalized explicitly through FOREIGN KEY, then they are stored only in the programmer's head, or even in the product documentation. And FOREIGN KEY can be obtained throughSHOW CREATE TABLE `table_name`;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question