Jump to content

Finding the Query of mySQL.


FierceBlade

Recommended Posts

Okay I'm using phpMyAdmin and you know when you create a table it shows the information such as

 

$sql = "CREATE TABLE etc..

(

etc..

etc..

)";

 

I want to find that again but this is since it's created I want to view it now.

 

SHOW CREATE TABLE tablename

Link to comment
Share on other sites

Sorry if I wasn't clear, but I mean I want the sql information shown in phpMyAdmin.

 

I'm creating an automatic board creator where the users create their own board and I'm trying to make it write new tables down but anyway I'm trying to make it create them and It'll take forever to write out all the table information, is there any way to find the information of the tables and show them in phpMyAdmin like when you first create a table it shows you the query.

Link to comment
Share on other sites

Sorry if I wasn't clear, but I mean I want the sql information shown in phpMyAdmin.

 

I'm creating an automatic board creator where the users create their own board and I'm trying to make it write new tables down but anyway I'm trying to make it create them and It'll take forever to write out all the table information, is there any way to find the information of the tables and show them in phpMyAdmin like when you first create a table it shows you the query.

 

I'm not very familiar with phpMyadmin's interface so I don't know of a specific option to do that. The query I posted should have shown the information for you to copy and paste however, but I may still not fully understand what you're looking for.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.