I need to export a mysql table, but it has like 5gb of entries, so I only want the structure. I am trying to do it from a simple php doing a sql query, how can I do that?
Depending on you exact requirements, something as simple as
select * from table where 1=0
might suffice.