Sie sind auf Seite 1von 5

Microsoft Windows [Versin 6.1.

7600]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.

C:\Users\IESTP_JDCH>cd..

C:\Users>cd..

C:\>cd users

C:\Users>cd users
El sistema no puede encontrar la ruta especificada.

C:\Users>cd user
El sistema no puede encontrar la ruta especificada.

C:\Users>cd\

C:\>dir
El volumen de la unidad C no tiene etiqueta.
El nmero de serie del volumen es: D893-C362

Directorio de C:\

12/10/2012 09:28 <DIR> AppServ


10/06/2009 16:42 24 autoexec.bat
10/06/2009 16:42 10 config.sys
04/10/2011 23:45 0 dfinstall.log
13/07/2009 21:37 <DIR> PerfLogs
12/10/2012 08:53 16.336.704 Persi0.sys
20/09/2011 14:56 <DIR> prog
12/10/2012 09:39 <DIR> Program Files
16/09/2011 10:24 <DIR> Users
12/10/2012 09:27 <DIR> Windows
20/09/2011 15:41 <DIR> xampp
05/09/2011 18:13 55.062.259 xampp-win32-1.7.5-beta5-VC9.7z
5 archivos 71.398.997 bytes
7 dirs 95.568.830.464 bytes libres

C:\>dir/p
El volumen de la unidad C no tiene etiqueta.
El nmero de serie del volumen es: D893-C362

Directorio de C:\

12/10/2012 09:28 <DIR> AppServ


10/06/2009 16:42 24 autoexec.bat
10/06/2009 16:42 10 config.sys
04/10/2011 23:45 0 dfinstall.log
13/07/2009 21:37 <DIR> PerfLogs
12/10/2012 08:53 16.336.704 Persi0.sys
20/09/2011 14:56 <DIR> prog
12/10/2012 09:39 <DIR> Program Files
16/09/2011 10:24 <DIR> Users
12/10/2012 09:27 <DIR> Windows
20/09/2011 15:41 <DIR> xampp
05/09/2011 18:13 55.062.259 xampp-win32-1.7.5-beta5-VC9.7z
5 archivos 71.398.997 bytes
7 dirs 95.568.830.464 bytes libres

C:\>cd appserv

C:\AppServ>dir
El volumen de la unidad C no tiene etiqueta.
El nmero de serie del volumen es: D893-C362

Directorio de C:\AppServ

12/10/2012 09:28 <DIR> .


12/10/2012 09:28 <DIR> ..
12/10/2012 09:27 <DIR> Apache2.2
12/10/2012 09:27 <DIR> MySQL
12/10/2012 09:27 <DIR> php5
12/10/2012 09:28 119.214 Uninstall-AppServ2.5.10.exe
12/10/2012 09:28 <DIR> www
1 archivos 119.214 bytes
6 dirs 95.579.234.304 bytes libres

C:\AppServ>cd mysql

C:\AppServ\MySQL>dir
El volumen de la unidad C no tiene etiqueta.
El nmero de serie del volumen es: D893-C362

Directorio de C:\AppServ\MySQL

12/10/2012 09:27 <DIR> .


12/10/2012 09:27 <DIR> ..
12/10/2012 09:27 <DIR> bin
18/01/2008 04:57 19.071 COPYING
12/10/2012 09:43 <DIR> data
18/01/2008 04:57 5.139 EXCEPTIONS-CLIENT
18/01/2008 04:57 5.059 my-huge.ini
18/01/2008 04:57 21.411 my-innodb-heavy-4G.ini
18/01/2008 04:57 5.035 my-large.ini
18/01/2008 04:57 5.040 my-medium.ini
18/01/2008 04:57 2.541 my-small.ini
18/04/2006 15:41 13.493 my-template.ini
12/10/2012 09:27 9.572 my.ini
05/07/2006 06:14 863 mysql_servicefix.bat
12/10/2012 09:27 423 mysql_serviceinstall.bat
13/06/2005 00:16 91 mysql_servicestart.bat
13/06/2005 00:19 90 mysql_servicestop.bat
05/07/2006 06:15 410 mysql_serviceuninstall.bat
13/06/2005 04:20 497 mysql_start.bat
04/10/2006 02:50 132 mysql_stop.bat
12/10/2012 09:27 <DIR> scripts
12/10/2012 09:27 <DIR> share
16 archivos 88.867 bytes
6 dirs 95.579.754.496 bytes libres

C:\AppServ\MySQL>cd bin

C:\AppServ\MySQL\bin>dir
El volumen de la unidad C no tiene etiqueta.
El nmero de serie del volumen es: D893-C362

Directorio de C:\AppServ\MySQL\bin

12/10/2012 09:27 <DIR> .


12/10/2012 09:27 <DIR> ..
17/04/2008 07:13 2.052.736 mysql.exe
25/10/2005 05:23 894 mysql.ico
17/04/2008 07:13 2.003.584 mysqladmin.exe
17/04/2008 07:13 5.750.784 mysqld-nt.exe
17/04/2008 07:13 2.048.640 mysqldump.exe
5 archivos 11.856.638 bytes
2 dirs 95.579.754.496 bytes libres

C:\AppServ\MySQL\bin>mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.51b-community-nt-log MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show database


-> SHOW DATABASE
-> SHOW DATABASE;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'datab
ase
SHOW DATABASE
SHOW DATABASE' at line 1
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| test |
+--------------------+
2 rows in set (0.07 sec)

mysql> use test


Database changed
mysql> use test;
Database changed
mysql> quit
Bye

C:\AppServ\MySQL\bin>mysql -uroot -piloveyou


Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.51b-community-nt-log MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;


+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| phpmyadmin |
| pruebas |
| test |
+--------------------+
5 rows in set (0.02 sec)

mysql> use pruebas;


Database changed
mysql> show tables;
+-------------------+
| Tables_in_pruebas |
+-------------------+
| directorio |
+-------------------+
1 row in set (0.01 sec)

mysql> select * from directorio;


+----+----------+------------+----------------------+------------------------+--
--------+
| id | nombre | apellido | email | url |n
ick |
+----+----------+------------+----------------------+------------------------+--
--------+
| 1 | Rodolfo | Ruiz | rolf@alesys.net | http//www.alesys.net | r
olf |
| 2 | Daniel | De la Cruz | null@granatta.com | http//www.granatta.com | g
ranatta |
| 3 | Fernando | Flores | info@onlx.com | http//www.onlx.com | f
ernando |
| 4 | Santiago | Angles | info@sangles.com | http//www.sangles.com | s
angles |
| 5 | Manuel | Vejarano | xflash@flashmail.com | http//xflash.8k.com | j
esus |
| 6 | Kali | Romiglia | kali@romiglia.com | http//www.romiglia.com | k
ali |
| 7 | Carlos | Zumbado | nadie@kadazuro.com | http//www.kadazuro.com | k
adazuro |
| 8 | Ricardo | Salazar | info@nomaster.com | http//www.nomaster.com | d
asso |
+----+----------+------------+----------------------+------------------------+--
--------+
8 rows in set (0.04 sec)

mysql> create database instituto;


Query OK, 1 row affected (0.02 sec)

mysql> create table alumnos;


ERROR 1113 (42000): A table must have at least 1 column
mysql> create table alumnos 5;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '5' at
line 1
mysql> create table alumnos (5);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '5)' a
t line 1
mysql> create table alumnos

Das könnte Ihnen auch gefallen