echo "select * from users where id=20;" | mysql -u user -ppass -Ddb

Alan McRae

On 12/08/2014 08:10, Rodrigo Pichiñual Norin wrote:
> I need export an registers of a data base from command line.
>
> It is possible with mysqldump?
>
> for example:
>
> mysqldump -u user -ppass db "select *from users where id=20" ???
>
>
> thank
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to