diff --git a/reference/mysqli/book.xml b/reference/mysqli/book.xml
index f9996068fe..a0728aca47 100644
--- a/reference/mysqli/book.xml
+++ b/reference/mysqli/book.xml
@@ -62,6 +62,7 @@
&reference.mysqli.mysqli-result;
&reference.mysqli.mysqli-driver;
&reference.mysqli.mysqli-warning;
+ &reference.mysqli.mysqli-sql-exception;
&reference.mysqli.reference;
diff --git a/reference/mysqli/mysqli-sql-exception.xml b/reference/mysqli/mysqli-sql-exception.xml
new file mode 100644
index 0000000000..a0f283b19c
--- /dev/null
+++ b/reference/mysqli/mysqli-sql-exception.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+ The mysqli_sql_exception class
+ mysqli_sql_exception
+
+
+
+
+ &reftitle.intro;
+
+ The mysqli exception handling class.
+
+
+
+
+ &reftitle.classsynopsis;
+
+ mysqli_sql_exception
+
+
+ mysqli_sql_exception
+
+
+ extends
+ RuntimeException
+
+
+ &Properties;
+
+ protected
+ code
+
+
+ protected
+ sqlstate
+
+
+
+
+
+ &reftitle.properties;
+
+
+ message
+
+
+ The error message.
+
+
+
+
+ file
+
+
+ The file with the error.
+
+
+
+
+ line
+
+
+ The line with the error.
+
+
+
+
+ code
+
+
+ The code causing the error.
+
+
+
+
+ sqlstate
+
+
+ The sql state with the error.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/mysqli/versions.xml b/reference/mysqli/versions.xml
index f89f0c92fe..5ccfc9f5fd 100644
--- a/reference/mysqli/versions.xml
+++ b/reference/mysqli/versions.xml
@@ -167,6 +167,7 @@
+