our approach
|
new tutorials
|
contact us
MySQL Basics In Pictures
Starting
Administration
Tables
Queries
Security
Web
Save the
presidents.pl
file, then close the text editor.
Open a terminal window and type:
cd programs
then press
ENTER
.
TIP:
This Linux command has two parts:
cd
tells the computer to change directory.
programs
takes you to the
programs
directory.
Type:
perl presidents.pl
then press
ENTER
to run the program.
The program will query the
us_presidents
database on the MySQL Server and print out the results. Its output should look like this:
Type:
exit
then press
ENTER
.
<< BACK
NEXT >>