Difference between revisions of "Mysql delete data via cli"
From thelinuxwiki
				
								
				
				
																
				
				
								
				 (Pushed from Themanclub.)  | 
			
Revision as of 15:56, 12 April 2013
deleting range from shell
delete user_id if greater than 2
mysql -h localhost -u root mediawiki -e "DELETE FROM thelinuxwiki_user WHERE user_id > '2'" --password=password