Description
This function repairs all of the tables in a MySQL® database.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
name |
string |
Required The database's name. |
A MySQL database on the cPanel account. |
example_test |
Returns
Return |
Type |
Description |
Possible values |
Example |
|
array of hashes |
An array that contains a response message for each of a database's table in sequence. |
An array that includes the msg_test, table, and msg_type returns. |
|
msg_text |
string |
The message's contents. The function returns this value in the unnamed array. |
A valid string. |
OK |
table |
string |
The table's name. The function returns this value in the unnamedarray. |
A table in the database. |
table1 |
msg_type |
string |
The type of message. The function returns this value in the unnamedarray. |
|
status |