17 lines
459 B
Plaintext
17 lines
459 B
Plaintext
:sig
|
|
String mysql_error(MySQL* m)
|
|
|
|
:params
|
|
m : pointer to a MySQL connection struct
|
|
return value : MySQL error message (if present, otherwise empty string)
|
|
|
|
:desc
|
|
Returns the last error message from a connection to a MySQL server.
|
|
|
|
:see
|
|
>mysql
|
|
|
|
:related
|
|
**PHP:** Modern PHP database access through `mysqli_*` or PDO methods rather than the old `mysql_*` family
|
|
**JavaScript / Node.js:** Node database clients such as `mysql2`, query builders, or ORM adapters
|