Among other things, you can use the transaction Displaying/Changing Integration Data to delete a database connection.
In the Database Assistant, choose (transaction code DB11).
Enter the name of the database connection.
To be able to change integration information, you must be in change mode. Switch to this mode, if necessary.
Check the information about the database connection (database name and database server) for accuracy.
Choose
.Confirm this entry.
The system displays a message if the database connection was successfully deleted. The connection information is deleted in the tables DBCON and DBCONUSR.
Access to the database instance is no longer possible from the SAP system.