Vous êtes sur la page 1sur 4

Enter password:

Welcome to the MySQL monitor. Commands end with ; or \g.


Your MySQL connection id is
Ser!er !ersion: ".".#$log MySQL Community Ser!er %&'L(
Copyright %c( )))* )+)* ,racle and-or its a.liates. /ll rights reser!ed.
,racle is a registered trademar0 o1 ,racle Corporation and-or its
a.liates. ,ther names may 2e trademar0s o1 their respecti!e
owners.
3ype 4help;4 or 4\h4 1or help. 3ype 4\c4 to clear the current input statement.
mys5l6 create data2ase 2anco7datos+
$6 create data2ae 2anco7datos+;
E88,8 +)9: %:)))(: You ha!e an error in your SQL synta;; chec0 the manual
that
corresponds to your MySQL ser!er !ersion 1or the right synta; to use near
4creat
e data2ae 2anco7datos+4 at line
mys5l6 create data2ase 2ancodatos+;
Query ,<* + row a=ected %).)) sec(
mys5l6 use 2ancodatos+
>ata2ase changed
mys5l6 show data2ases;
?$$$$$$$$$$$$$$$$$$$$?
@ >ata2ase @
?$$$$$$$$$$$$$$$$$$$$?
@ in1ormation7schema @
@ 2ancodatos+ @
@ carrito @
@ demo @
@ iAcms @
@ mys5l @
@ name2d @
@ per1ormance7schema @
@ person @
@ personas @
@ php7prue2a @
@ prue2a @
@ registros2s @
@ test @
?$$$$$$$$$$$$$$$$$$$$?
+: rows in set %).)+ sec(
mys5l6 use 2ancodatos+
>ata2ase changed
mys5l6 use 2ancodatos+;
>ata2ase changed
mys5l6 create ta2le7 clientes %cli7codigo not null*cli7nom2re !archar%")(
primar
y 0ey %cli7codigo((;
E88,8 +)9: %:)))(: You ha!e an error in your SQL synta;; chec0 the manual
that
corresponds to your MySQL ser!er !ersion 1or the right synta; to use near
4ta2le
7 clientes %cli7codigo not null*cli7nom2re !archar%")( primary 0ey %cli7cod4 at
line +
mys5l6 create ta2le clientes %cli7codigo not null*cli7nom2re !archar%")(
primary
0ey %cli7codigo((;
E88,8 +)9: %:)))(: You ha!e an error in your SQL synta;; chec0 the manual
that
corresponds to your MySQL ser!er !ersion 1or the right synta; to use near 4not
n
ull*cli7nom2re !archar%")( primary 0ey %cli7codigo((4 at line +
mys5l6 create ta2le clientes %cli7codigo integer not null* cli7nom2re !archar%")
(* primary 0ey %cli7codigo((;
Query ,<* ) rows a=ected %).)+ sec(
mys5l6 select B 1rom clientes;
Empty set %).)) sec(
mys5l6 insert into clientes !alues %+*4Cn1ormaticon4(;
Query ,<* + row a=ected %).)+ sec(
mys5l6 insert into clientes !alues %*4We2sitte4(;
Query ,<* + row a=ected %).)+ sec(
mys5l6 insert into clientes !alues %D*4>e!eloper4(;
Query ,<* + row a=ected %).)+ sec(
mys5l6 select B 1rom clientes;
?$$$$$$$$$$$$?$$$$$$$$$$$$$$?
@ cli7codigo @ cli7nom2re @
?$$$$$$$$$$$$?$$$$$$$$$$$$$$?
@ + @ Cn1ormaticon @
@ @ We2sitte @
@ D @ >e!eloper @
?$$$$$$$$$$$$?$$$$$$$$$$$$$$?
D rows in set %).)) sec(
mys5l6create ta2le endereco %end7codigo integer not null*end7nom2re
!archar%:)(* primary 0ey %end7codigo((;
mys5l6create ta2le 2airro %2ai7codigo integer not null*2ai7nom2re !archar%:)(*
primary 0ey %2ai7codigo((;
mys5l6create ta2le ciudades%cid7codigo integer not null*cid7nom2re
!archar%:)(*cid7u1 char%(* primary 0ey%cid7codigo((;

Vous aimerez peut-être aussi