Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2833 connectés 

  FORUM HardWare.fr
  Programmation
  SQL/NoSQL

  Mysql - Executer un script de commande sql? - RESOLU

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Mysql - Executer un script de commande sql? - RESOLU

n°304119
chaica
Posté le 07-02-2003 à 18:37:35  profilanswer
 

Sous Mysql? Sous oracle c'est @monfichier mais sous mysql?
 
CHaiCA


Message édité par chaica le 07-02-2003 à 19:07:05
mood
Publicité
Posté le 07-02-2003 à 18:37:35  profilanswer
 

n°304134
chaica
Posté le 07-02-2003 à 19:07:25  profilanswer
 

ok j'ai trouvé c'est la commande source
 
CHaiCA

n°304224
HappyHarry
Posté le 07-02-2003 à 21:16:09  profilanswer
 

pour la prochaine :
 


mysql> help
 
MySQL commands:
Note that all text commands must be first on line and end with ';'
help    (\h)    Display this help.
?       (\?)    Synonym for `help'.
clear   (\c)    Clear command.
connect (\r)    Reconnect to the server. Optional arguments are db and host.
edit    (\e)    Edit command with $EDITOR.
ego     (\G)    Send command to mysql server, display result vertically.
exit    (\q)    Exit mysql. Same as quit.
go      (\g)    Send command to mysql server.
nopager (\n)    Disable pager, print to stdout.
notee   (\t)    Don't write into outfile.
pager   (\P)    Set PAGER [to_pager]. Print the query results via PAGER.
print   (\p)    Print current command.
quit    (\q)    Quit mysql.
rehash  (\#)    Rebuild completion hash.
source  (\.)    Execute a SQL script file. Takes a file name as an argument.
status  (\s)    Get status information from the server.
tee     (\T)    Set outfile [to_outfile]. Append everything into given outfile.
use     (\u)    Use another database. Takes database name as argument.


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  SQL/NoSQL

  Mysql - Executer un script de commande sql? - RESOLU

 

Sujets relatifs
[HTML] pour imbriquer des <table> sans bordure?[RESOLU]P'tite question SQL (mySQL) - résolu (merci tomlameche! :-))
[Qmail/MySQL] Script de filtrage[shell] petit probleme avec mysql
recuperer la temperature CPU en ligne de commandejava script marche pas
[JS - XML] un script ou un lien pour lister un arbre XML[MYSQL] La fonction UNION
Plus de sujets relatifs à : Mysql - Executer un script de commande sql? - RESOLU


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR