PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, February 2, 2022

[FIXED] How can I get database design from a existing database

 February 02, 2022     phpmyadmin     No comments   

Issue

I am using WAMP. In phpMyAdmin I created database without any model (database is pretty simple) and now I need to show structure of database but I do not know how. The closest one I got is Designer tab in phpMyAdmin, but there are not relations (look at image). I tried to add them manually but I got error Relation features are disabled. I am not 100% sure but I think my db is already using InnoDB image


Solution

Looks like your tables uses non-relational engine.

Check the engine for each table with SHOW CREATE TABLE tablename; statement. If you do not see ENGINE=InnoBD at the end of the script then ater the table's engine with ALTER TABLE tablename ENGINE = InnoDB;.



Answered By - Akina
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing