
Next Up, To be able to connect to MySQL to a client (PHPMyAdmin in this case), we need to be able to connect to mysql without sudo privileges. If you are okay with the blank password for your mysql you can skip this step. You can configure the security options by executing the following command, and following along with the questions asked. Once you have mysql installed, If you are looking to set a password for your mysql connectiona and also configure other security aspects. Run the following command to install mysql server and php mysql connector sudo apt-get install mysql-server php7.4-mysql Confirm it by executing the following command mysql -Vįollow along the steps to Install MySQL on your machine. You can skip this step if you already have mySQL installed in your system. We'll need to have the mySQL server setup in the ubuntu machine. Since we'll be using PHPMyAdmin to manage our MySQL databases. Once you have it installed, you can confirm by checking the current version. You can just update the repositories and run the apt install command to install the latest PHP version. Ubuntu 20.04 comes with PHP 7.4 in its upstream repositories. You can confirm by running the following command. You can skip this step if you already have php installed in your system. In this post I have written down the step by step guide on setting up PHPMyAdmin on your Ubuntu machine along with the installation of PHP and MySQL # 1. I tried spinning up PhpMyAdmin on the same and it worked just fine. Since for my Wordpress or Laravel setups I tend to use the built-in web-server provided by PHP.

But I wanted to use it independently of the Software or Apache. PHPMyAdmin comes bundled up with the XAMPP software. The interface is simple and have all the required tools that I require for my mySQL operations. PHPMyAdmin is a free tool written in PHP and is used to manage mySQL databases over the web.Įver sine I started with PHP development I have been accustomed to using PHPMyAdmin to manage my databases.
