This topic describes the connectivity error message and provides solutions. When you open the SQLConsole tab of a database in the Data Management (DMS) console, this error message may appear and indicate that information about the database cannot be found.
Problem description
When you open the SQLConsole tab of a database, the connectivity error message "No database-related information was obtained, possibly because the network from DMS to the database is not available" may appear.
Cause
When you are working on the SQLConsole tab of a database in the DMS console, you may
close the page or the browser for specific reasons. To enable you to continue your
work on the SQLConsole tab from where you left, DMS uses the cache of a browser to
store the SQLConsole tab of the database and SQL statements that were written. Specifically,
DMS binds the unique identifier of the SQLConsole tab of the database to the unique
identifier of the database. When you open the SQLConsole tab of a database, the system
uses the unique identifier of the SQLConsole tab to obtain the unique identifier of
the database from the cache of the browser. Then, the system uses the unique identifier
of the database to obtain data in the database from the backend. The connectivity
error message appears in the following scenarios:
- DMS finds the database at the backend but is unable to connect to the database.
- The database belongs to another DMS tenant to which the current Alibaba Cloud account or RAM user is added. An Alibaba Cloud account or a RAM user can be added to multiple DMS tenants. However, you cannot access resources across DMS tenants.
- The database is deleted.
- The instance to which the database belongs is disabled or deleted.
Solution
If the connectivity error message appears when you open the SQLConsole tab of a database,
try the following solutions:
- Close the current SQLConsole tab and reopen the SQLConsole tab of the database.
- Close the current SQLConsole tab, clear the cache of your browser, and then reopen the SQLConsole tab of the database.
- Check the connectivity of the database, for example, check the network, whitelist, and change records of database accounts. After you confirm that the instance is available and the database is connected to DMS, reopen the SQLConsole tab of the database.