mysql CLI, show warnings

[ 2006/3/13]

To force the command line client 'mysql' to show warnings use the –show-warnings option. This especially useful when running a sql script from the CLI using the '.' or 'source' commands.

[found this info on the mysql online Reference manual page, in a posting by Marcus Bointon ]

This was not available in older versions and I didnt bother to check for any other alternatives since luckily I dont have a requirement to stick to any of the older versions.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.