Administrative MySQL Commands

 0    6 fiche    sir
ladda ner mp3 skriva ut spela Kontrollera dig själv
 
Fråga Svar
This will be used to select a database in the MySQL workarea.
börja lära sig
USE Databasename
Lists out the databases that are accessible by the MySQL DBMS.
börja lära sig
SHOW DATABASES
Shows the tables in the database once a database has been selected with the use command.
börja lära sig
SHOW TABLES
Shows the attributes, types of attributes, key information, whether NULL is permitted, defaults, and other information for a table.
börja lära sig
SHOW COLUMNS FROM tablename
Presents the details of all indexes on the table, including the PRIMARY KEY.
börja lära sig
SHOW INDEX FROM tablename
Reports details of the MySQL DBMS performance and statistics.
börja lära sig
Reports details of the MySQL DBMS perfor på engelska
SHOW TABLE STATUS LIKE tablename\G

Du måste vara inloggad för att skriva en kommentar.