3

I managed to install MySQL on Ubuntu 20.04 from the terminal. Everything went perfectly.

But why can't I access MySQL like any normal application, i.e., from the menu? The only way I can use it is from the terminal, which is quite uncomfortable. Is this the only way to use this application in Ubuntu? How can I open the normal MySQL window?

Kulfy
  • 18,154

3 Answers3

3

Installing mySQL-workbench

I don't know why, but the mysql-workbench package is missing in Ubuntu 20.04.

However, you can easily install it from the main page:

  • Download apt installer package and copy the m5sum

    https://dev.mysql.com/downloads/repo/apt/

    Click if you don't want to create an account on the bottom link "No thanks, just start my download."

  • Check the m5sum and install it

    Install it from your download-directory

    sudo apt install ./mysql-apt-config_0.8.15-1_all.deb
    
  • Update and install

    sudo apt update
    sudo apt install mysql-workbench-community
    
  • Start a mySQL party:

    mysql-workbench&
    

enter image description here

abu_bua
  • 11,313
2

That's because you've actually installed MySQL's command line client. If you were on Windows, you would have got MySQL command line client as an application which runs on top of Command prompt. MySQL's Windows installer gives you an option to register MySQL service. That's why you have a separate application for that. On Ubuntu, services are generally registered automatically.

If you're interested in some GUI clients, MySQL Workbench is the official one.

yfluK
  • 291
1

You installed the mysql database. And that doesn't come with a gui by (linux) default.

But you may choose a front end for it. See here for more infos. This is just one "recommendation" from the makers of mysql. There are many more database frontends out there. Just enjoy the freedom of choosing.

kanehekili
  • 7,426