|
Magoo's Wise Words | ||
| Posted: 6 Jun 05
P | MySQL Command Quick-reference Here is a list of commonly used commands in MyQL for easy reference. AdmistrationLogin:
or
Note: The root password is blank by default Logout:
Create user or add user to a database:
Delete a user or remove a user from a database:
or
Change passwords:
DatabasesCreate a database:
Delete a database:
List all the databases:
Change which database you are working with:
TablesSee what tables are in the database you are working with:
Create a new table:
Add a new column to a table after another column:
Delete a column from a table:
Change a column type
Add a row to a table:
Delete a row or rows matching a case:
Show all the columns in a particular table:
Display an entire table
Display particular rows of a table in a particular order:
Display data from only particlar columns of a table:
Change the information stored in a row or rows that match a case:
More advanced commands can be found in the MySQL documentation on the official web site. Next =>[Magoo's MySQL Tutorial - Page 1, MySQL Tutorial Introduction] | Updated:
19 Jul 06
P |