![]() In this screenshot, you can see that the MySQL client is installed (it’s returning something with –version). Here are the commands you can try safely:Īnother method is to use “dpkg” to list all the packages installed on the system, and specifically search for anything with “mysql” in the package name. Testing these commands can tell if MySQL is installed on the Linux server or not. ![]() The same thing goes for the server installation, with the “mysqld” command. When MySQL client is installed, the “mysql” command is added. How to check if MySQL is installed on Linux? In this tutorial, I will give you more detail about these commands and answer other important questions, like checking if MySQL is started, and which version or port it’s using on the Linux server. If there is an error (“command not found”), MySQL is not installed. For the client, the command “mysql –version” can be used to check if the MySQL client is installed. On Linux, the command line “mysqld –version” will return the MySQL server version only if it’s installed on the computer. In this tutorial, I talk specifically about MySQL and tell you how you can quickly check whether the service is already installed or not (and the client too!). Especially if you are on a server with only a terminal to control it. When you log in to a Linux server, it’s not obvious which applications are installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |