Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
mysql_shutdown(3)	      MariaDB Connector/C	     mysql_shutdown(3)

   Name
       mysql_shutdown -	Sends shutdown message to server

   Synopsis
	      #include <mysql.h>

	      int mysql_shutdown(MYSQL * mysql,
				 enum mysql_enum_shutdown_level);

   Description
       This function is	deprecated.  Instead please use	SQL SHUTDOWN command.

       Sends a shutdown	message	to the server.

   Parameter
        mysql	 -   a	 mysql	handle,	 which	was  previously	 allocated  by
	 mysql_init(3) and connected by	mysql_real_connect(3).

        mysql_enum_shutdown_level - currently only one	shutdown level,	 SHUT-
	 DOWN_DEFAULT is supported.

   Notes
        To  shutdown the database server, the user for	the current connection
	 must have SHUTDOWN privileges.

   Return value
       Returns zero on success,	non-zero on failure.

   See also
        mysql_kill(3)

Version	3.4						     mysql_shutdown(3)

Want to link to this manual page? Use this URL:
<
https://man.freebsd.org/cgi/man.cgi?query=mysql_shutdown&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help