330 likes | 506 Views
MySQL. Dr. Thomas E. Hicks Trinity University Computer Science. cmd Command Window. Launch & Configure. Launch Command Window Start Select Run Enter cmd. CD To Go To Root Directory CLS To Clear Screen.
E N D
MySQL Dr. Thomas E. Hicks Trinity University Computer Science
cmdCommand Window Launch & Configure
Right-Mouse Click In Top Bar To Change Command Window Properties Select Properties
Select Colors TabSelect Screen Background ColorSelect Screen Text Color
Select Layout TabEnter Width & Height Push OK ButtonSave Properties For Future Windows Push OK
ipconfig Find IP Address Of SystemInternet Protocol Subnet Mask Gateway
DNS Server Domain Name SystemDomain Name Server
\\ananke.cs.trinity.edu Uses DNSDomain Name Systemto Resolve IP Address
\\131.194.71.9 Uses IP Address
ping Find IP Of DNS System Domain Name System
ping ananke.cs.trinity.eduAttempts To Contact SystemSuccessful Uses DNSDomain Name Systemto Resolve IP Address
ping net5.cs.trinity.eduAttempts To Contact SystemUnsuccessful Uses DNSDomain Name Systemto Resolve IP Address
To See Services: Start Task ManagerRight Mouse Click On Tool Bar Select Task Manager Select Services Tab FindMySQL
To See Services:Right Mouse Click On My Computer Select Manage Expand Services & Applications Select Services
-uroot • -u is to identify the user • root is the system administrator • System administrator is all powerful
-ptrinity • -p is to identify the password • trinity is the root password on the lab systems
-ustudent • -u is the student administrative user
-pstudent • -p is to identify the password • student is the student password on the theAnankeMySQL Server
-hananke.cs.trinity.edu • -h is to identify the host • ananke.cs.trinity.edu is the host MySQL Server • -h131.194.71.9 is the IP address associated with the Ananke host MySQL Server
Remote Login (from net3.cs.trinity.edu)mysql -ustudent –pstudent –hananke.cs.trinity.edu
Remote Login (from net3.cs.trinity.edu)mysql -ustudent –pstudent –h131.194.71.9
DOS Prompt – DOS ModeNot Connected To SQL Server! • MySQL Commands, such as SELECT, CREATE, STATUS, etc. will not work in DOS mode. • DOS Commands, such as CLS, COPY, IPCONFIG, etc. will work.
DOS Prompt – DOS ModeNot Connected To SQL Server! • MySQL Commands, such as SELECT, CREATE, STATUS, etc. will not work in DOS mode. • DOS Commands, such as CLS, COPY, IPCONFIG, etc. will work.