Trying to uninstall SQL tools on Redhat? We can help you with it.
Here at Bobcares, we have seen several such SQL related queries as part of our Server Management Services for web hosts and online service providers.
Today we’ll take a look at how to uninstall SQL tools on Redhat.
Know more about SQL tools
SQL Tools is a development tool pack that provides many essential features for any Microsoft SQL Server developer.
Also, it boosts productivity, reduce expenses while performing routine tasks, and automate database development.
Today, we shall see the process of uninstalling the SQL tools (sqlcmd and BCP utilities).
How to uninstall SQL tools on Redhat
sqlcmd and BCP utilities are part of SQL tools. So if you wish to uninstall these utilities then you would need to uninstall the SQL tools package mssql-tools from the RedHat Linux machine. Here are the steps our Support Engineers follow to uninstall the SQL tools.
1. First, connect to the RHEL server where the SQL tools are installed. Then check whether the SQL tools are installed on the machine or not by checking the sqlcmd or BCP utilities. For that, run the below command.
$ sqlcmd
If you see the Redhat Linux is recognizing the sqlcmd utility then it means that the SQL tools are been installed on the machine.
2. Execute the below command to uninstall SQL tools.
$ sudo yum remove mssql-tools
As a result, it will display the details of the SQL tools package that is going to be removed from the machine. Also, it will ask for the confirmation of uninstalling the SQL tools. So enter Y and hit Enter.
Then you must see that the sqlcmd and BCP are uninstalled.
3. Finally, you can re-run the below command and check whether the uninstallation process was successful or not.
$ sqlcmd
It must result in ‘No such file or directory’. This confirms the uninstallation process was successful.
[Need any assistance with SQL queries? – We’ll help you]
Conclusion
In short, Today, we saw the process of uninstalling SQL tools on Redhat.
0 Comments