# S04001 {#s04001}

## Error Code {#error_code .section}

S04001

## Error Message {#error_message .section}

`The database <" + s + "> does not exist. RefId: S04001`

`The table <" + s + "> does not exist. RefId: S04001`

## Probable Causes {#probable_causes .section}

This error occurs when granting privileges to a database or table that does not exist.

## Solutions {#solutions .section}

Create the corresponding database or table before granting privileges.

**Parent topic:**[Error Code Reference](../../Troubleshooting/ErrorCode.md)

