문제

i try to execute the command show slave status | find "Last_SQL_Error" in windows in windows but it returns to me an error. Can someone correct it to me. best regards

도움이 되었습니까?

해결책

I assume you are trying to run SHOW SLAVE STATUS at the dos prompt and then extract the Last_SQL_Error values. If that's correct then you should probably use findstr, not find. Something like this:

mysql -e "show slave status\G" | findstr "Last_SQL_Error"
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top