The Computer Oracle

How to export mysql schema from phpmyadmin?

-------------------------------------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Sunrise at the Stream

--

Chapters
00:00 Question
00:21 Accepted answer (Score 33)
00:44 Answer 2 (Score 24)
01:18 Answer 3 (Score 24)
01:33 Answer 4 (Score 0)
01:49 Thank you

--

Full question
https://superuser.com/questions/168595/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#mysql #database #export #phpmyadmin

#avk47



ACCEPTED ANSWER

Score 34


In the Export tab for your database, there's a checkbox on the lower right that says Data.

Uncheck it and you should only have the bare structure in your export file.

alt text




ANSWER 2

Score 24


With the newer phpmyadmin versions, in the export tab for your database or table click on custom. enter image description here

Under Format-specific options click dump table -> structure enter image description here




ANSWER 3

Score 24


Select your database or table.

Select the Export tab.

Below Export method, select Custom.

Below Tables, check the appropriate Structure boxes.

Here's a screenshot: enter image description here




ANSWER 4

Score 0


There is a checkbox called "Data". Untick it and phpMyAdmin should only return the table structure.