Jump to content

how to check mysql tables using cmd


zoran

Recommended Posts

I am using wamp and I would like to check the structure of mysql tables with cmd, i.e. to see if they have unique index in a column and the sql command that was used to create the table etc.

I am having intermittent problems with my tables. Values are sometimes inserted and updated and are not other times without apparent reason. and the code looks ok. so I need to check everything regarding table structure.

I can not see all that in phpmyadmin because it is not all visible.

Link to comment
Share on other sites

thanks,

what should I type to get info on structure of tables in my databases.

I would like to also get an sql command that has created the table, e.g. create table customers, primary key ID (int) 25, if that can be found in the mysql console.

ect.

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.