Repository navigation
MySQL_GetConnectionErrno
imshooter edited this page Oct 24, 2026
·
1 revision
The error of the last time the handle failed to connect.
native MySQL_GetConnectionErrno(MySQL:handle);| Parameter | Description |
|---|---|
MySQL:handle |
Handle to check. |
- The error number of MySQL.
-
0when it did not fail since it last connected. -
-1when the handle does not exist.
The error is the one of the last attempt to connect, and stays 0 once a connection is made. The error of a query is read with MySQL_GetErrno.
- MySQL_GetConnectionError: The message of the last time the handle failed to connect.
- MySQL_IsConnected: Whether the connection of the ordered queries is open.
- MySQL_GetErrno: The error of the query read.
MySQL 0.2.0 · Repository · Releases · MIT License
Guides
- Installation
- Configuration
- Queries
- Results
- JSON cells
- Prepared statements
- Passwords
- Errors
- TLS
- Coming from R41
- Performance
Reference
Functions