mysqli::refresh

mysqli_refresh

Refreshes

&warn.deprecated.function-8-4-0;
&reftitle.description;

&style.oop;

#[\Deprecated] public `bool` `mysqli::refresh` `int` `flags`

&style.procedural;

#[\Deprecated] `bool` `mysqli_refresh` `mysqli` `mysql` `int` `flags`

Flushes tables or caches, or resets the replication server information.

&reftitle.parameters;

&mysqli.link.description;

`flags`

- The options to refresh, using the MYSQLI_REFRESH_* constants as documented within the MySQLi constants documentation.

  See also the official MySQL Refresh documentation.

&reftitle.returnvalues;

&true; if the refresh was a success, otherwise &false;

&reftitle.changelog;

&Version; | &Description;
8.4.0 | Both `mysqli::refresh` and `mysqli_refresh` are now deprecated. Use `FLUSH` SQL commands instead.

&reftitle.seealso;

- `mysqli_poll`