Function ruster::mysql_restore_all_databases[][src]

#[no_mangle]
pub extern "C" fn mysql_restore_all_databases(
    host: *const c_char,
    port: *const c_char,
    user: *const c_char,
    filename: *const c_char,
    verbose: *const c_char
)
Expand description

Example

// Golang
os.Getenv("MYSQL_ROOT_PASSWORD");
C.mysql_restore_all_databases(
	C.CString("localhost"),
	C.CString("3306"),
	C.CString("root"),
	C.CString("dump.sql"),
	C.CString("true"),
);