Hi!
I’m working on a backup script to backup all my SingleStore databases. When attempting to backup the cluster
database using the root user, I get:
singlestore> BACKUP DATABASE cluster to "/tmp";
ERROR 1044 (42000): Access denied for user 'root'@'%' to database 'cluster'
However, as root, I do see the database, and can inspect it:
singlestore> show databases;
+--------------------+
| Database |
+--------------------+
| cluster |
| deployment_test |
| information_schema |
| memsql |
+--------------------+
4 rows in set (0.00 sec)
singlestore> use cluster
Database changed
singlestore> show tables;
Empty set (0.00 sec)
Am I seeing a pseudo-database? Or (coming from MySQL) are users able to see all databases but not their data, even if they have no grants?
Questions:
- Should this database be backed up? I don’t know if it contains import data, because I can’t find any information about this database in the documentation.
- Is it correct that root does not have access to this database?
I already excluded the information_schema
and memsql
databases, based on the documentation at SingleStoreDB Cloud · SingleStore Documentation