As you can see, there's no syntax error or something like that on my code. Can you guys help me?
To cause MySQL Workbench to show error messages, I had to change a preference. From the Workbench menu, click "Edit" -> "Preferences..." Open the "SQL Queries" tab. Check "Confirm Data Changes".
-- insert some sample data(3,'Robert\r\n'), (4, 'This is \n test'); Below query will return all the values which has \n or \r or both of them.
mysql_errno() returns the MySQL error code. mysql_sqlstate() returns the SQLSTATE value. mysql_error() returns the message string.
I guess this is just a little bug in the error markup machinery. Try editing the code or close this editor and open a new one. If you have a list of steps to reproduce this you could even create a bug report, so that gets fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With