Where can I find the list of SQLException error codes for MySQL?

拈花ヽ惹草 提交于 2019-12-19 00:57:07

问题


java.sql.SQLException offers an int getErrorCode() function so the program can know what in particular has happened to cause the exception. Any chance to get a list of these codes for MySQL?


回答1:


They're available in the MySQL documentation.

  • Server error codes
  • Client error codes


来源:https://stackoverflow.com/questions/7799086/where-can-i-find-the-list-of-sqlexception-error-codes-for-mysql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!