![]() ![]() Mysql Ver 8.0.32 for Linux on x86_64 (MySQL Community Server - GPL)Īt this point, you secure your MySQL by running the MySQL secure script: sudo mysql_secure_installation To see your MySQL version, you can run the command below: mysql -version Output Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset:>Īctive: active ( running) since Mon 13:19:04 UTC 55s ago Verify that your MySQL service is active and running on your server with the following command: sudo systemctl status mysql Output Now you can start and enable your MySQL service on Ubuntu 22.04 with the command below: sudo systemctl enable -now mysql You need to enter the password that you want to use with the MySQL server and then select the Strong authentication method: MySQL Root Password Authentication Plugin Manage MySQL Service Then, install MySQL on Ubuntu 22.04 with the following command: sudo apt install mysql-server ![]() Update your local package index with the following command: sudo apt update Note: If you want to add any additional tools using its repository or want to reconfigure it run the command below: sudo dpkg-reconfigure mysql-apt-config This will automatically configure the latest Debian repository of the Database on your Ubuntu 22.04. MySQL VersionĪgain Select OK and then use the TAB to move to OK and hit the Enter key. Next, you need to choose the available version of MySQL on Ubuntu 22.04, here in our case, it was MySQL 8.0. You need to choose MySQL Server & Cluster, press the TAB button to select OK, and hit the Enter key. You will get the option to select what you want to add via the repository. Then, you need to install the package with the following command: sudo apt install. To do this, you need to download the MySQL Deb package from the MySQL Downloads page: sudo wget Install MySQL Deb Package on Ubuntu 22.04įirst, you need to install MySQL Deb Package on your server. To do this, you can follow our guide the Initial Server Setup with Ubuntu 22.04. To complete this guide, you must log in to your server as a non-root user with sudo privileges. Steps To Install MySQL Workbench on Ubuntu 22.04
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |