OpenSwoole\Core\Coroutine\Client\MysqliClient->change_user

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.2.0

Declaration

<?php OpenSwoole\Core\Coroutine\Client\MysqliClient->change_user()

Parameters

username

The MySQL user name

password

The MySQL password

database

The database to change to

Return

Description

Changes the user of the specified database connection.

Last updated on February 28, 2026