Search Results
https://dev.mysql.com/doc/c-api/9.7/en/mysql-ping.html
If the connection is down and auto-reconnect is disabled, mysql_ping() returns an error. int mysql_ping(MYSQL *mysql) Description Checks whether the connection to the server is working. If the connection has gone down and auto-reconnect is enabled ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-real-connect.html
It causes the parser to generate an error if you use that syntax, which is useful for trapping bugs in some ODBC programs. CR_VERSION_ERROR A protocol mismatch resulted from attempting to connect to a server with a client library that uses a ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-close.html
For a failed mysql_stmt_close() call, do not call mysql_stmt_error(), or mysql_stmt_errno(), or mysql_stmt_sqlstate() to obtain error information because mysql_stmt_close() makes the statement handler invalid. mysql_stmt_close() also deallocates the ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-next-result.html
Return Values Return Value Description 0 Successful and there are more results -1 Successful and there are no more results >0 An error occurred Errors CR_COMMANDS_OUT_OF_SYNC Commands were executed in an improper order. int ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-prepare.html
CR_SERVER_LOST The connection to the server was lost during the query CR_UNKNOWN_ERROR An unknown error occurred. If the prepare operation was unsuccessful (that is, mysql_stmt_prepare() returns nonzero), the error message can be obtained by calling ... int mysql_stmt_prepare(MYSQL_STMT *stmt, const char *stmt_str, unsigned long length) Description Given the statement handler returned by mysql_stmt_init(), prepares the SQL statement pointed to by the string stmt_str and returns a status ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-stmt-reset.html
It resets the statement on the server, data sent using mysql_stmt_send_long_data(), unbuffered result sets and current errors. CR_SERVER_LOST The connection to the server was lost during the query CR_UNKNOWN_ERROR An unknown error occurred. bool ...
https://dev.mysql.com/doc/c-api/9.7/en/mysql-use-result.html
The C API gives the error Commands out of sync; you can't run this command now if you forget to do this! You may not use mysql_data_seek(), mysql_row_seek(), mysql_row_tell(), mysql_num_rows(), or mysql_affected_rows() with a result returned from ...
https://dev.mysql.com/doc/mysql-ai/9.7/en/mys-mysqlai-ml-train.html
It will cause an error if any part of the training table or predict table has dates outside this range. Selecting more than one model or an unsupported model produces an error. Values in this column must be in a STRING data type, otherwise an error ... Run the ML_TRAIN routine on a training dataset to produce a trained machine learning ...
https://dev.mysql.com/doc/relnotes/mysql-router/9.7/en/news-9-1-0.html
(WL #16466) Bugs Fixed With connection sharing enabled, changing the password of an active connection yielded a vague "Lost connection" error instead of indicating that reauthentication failed. (Bug #36935988) Bootstrapping against a MySQL account ... Functionality Added or Changed Bugs Fixed Functionality Added or Changed Added OpenID Connect support, which is available as of MySQL Enterprise Edition Server ...
https://dev.mysql.com/doc/relnotes/mysql-router/9.7/en/news-9-5-0.html
Errors were returned similar to the following: Error parsing file dynamic state file: Parsing JSON failed at offset 0: The document is empty. Note These release notes were created with the assistance of MySQL HeatWave GenAI. The !SSLv3 filter ...