Mysql input error method without exiting: 1. Add a semicolon and re-enter; 2. The ['] sign and the ["] sign appear in pairs, so when the ['] sign is entered incorrectly or ["], you need to complete the other half.
Mysql input error method does not exit:
1) Fill in the semicolon.
2) Since the ' sign and " sign appear in pairs in MySQL, when you type the ' sign or " sign by mistake, you need to complete the other half. quit.
#3) After exiting, you only need to enter the correct command again to execute it.
More related free learning recommendations: mysql tutorial(Video )
The above is the detailed content of How to avoid exiting if mysql input error occurs. For more information, please follow other related articles on the PHP Chinese website!