1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[SQL] How do you run a single query through mysql from the command line?

Discussão em 'Outras Linguagens' iniciado por Stack, Outubro 26, 2024 às 07:42.

  1. Stack

    Stack Membro Participativo

    I'm looking to be able to run a single query on a remote server in a scripted task.

    For example, intuitively, I would imagine it would go something like:

    mysql -uroot -p -hslavedb.mydomain.com mydb_production "select * from users;"

    Continue reading...

Compartilhe esta Página