value
Return Values
Returns
TRUE
Changelog
Version
5.5.0
Examples
See mysqli_real_connect.
Notes
See Also
mysqli_init
mysqli_real_connect
20.7.3.9.36. mysqli::ping,
Copyright 1997-2012 the PHP Documentation Group. [2230]
•
mysqli::ping
mysqli_ping
Pings a server connection, or tries to reconnect if the connection has gone down
Description
MySQL Improved Extension (Mysqli)
Name
MYSQLI_OPT_LOCAL_INFILE
MYSQLI_INIT_COMMAND
MYSQLI_READ_DEFAULT_FILE
MYSQLI_READ_DEFAULT_GROUP
MYSQLI_SERVER_PUBLIC_KEY
The value for the option.
on success or
on failure.
FALSE
Note
MySQLnd always assumes the server default charset. This charset is sent
during connection hand-shake/authentication, which mysqlnd will use.
Libmysqlclient uses the default charset set in the
call to
mysqli_options
mysqli_init.
mysqli_ping
Description
The
MYSQLI_SERVER_PUBLIC_KEY
added.
prior to calling mysqli_real_connect, but after
2397
Description
enable/disable use of
LOCAL INFILE
command to execute after when
connecting to MySQL server
Read options from named option
file instead of
my.cnf
Read options from the
named group from
my.cnf
or the file specified with
MYSQL_READ_DEFAULT_FILE
RSA public key file used with the
SHA-256 based authentication.
option was
or by an explicit
my.cnf
LOAD
.
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers