2014-12-11 77 views

回答

0

您可以用反斜槓逃逸的美元符號字符:?

$ mysql -uhomestead -p'secret' foobarDB -e "UPDATE users SET 
password='\$2y\$10\$vmBPs',email='[email protected]' WHERE id = 1;"