[CentOS] Question about dump on MySQL

Alan McRae amcrae at island42.net
Mon Aug 11 20:15:16 UTC 2014


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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos




More information about the CentOS mailing list