Working with Database: dependency error

I trying to connect to user specific DB in my plugin.
And I wanna reuse the settings in “view → tool windows → database”.

Grok gave me some example like:

import com.intellij.database.psi.DataSourceManager;

        List<LocalDataSource> dataSources = DataSourceManager.getInstance(project).getDataSources();
       ....

In plugin.xml

    <depends>com.intellij.database</depends>

In build.gradle.kts

intellij {
    version.set("2024.2.4")
    type.set("GO")
    plugins.set(listOf("org.jetbrains.plugins.go", "yaml", "com.intellij.database"))
}

But it does NOT work. Maybe the dependency is wrong?

Restart the IDE fix it.