Thank you guys, Hope my article helps you. See second bug here (Resolution provided by Chaloemphon Thipkasorn). See first bug here (Resolution provided by Chaloemphon Thipkasorn).Change root login to password type by executing the commandĪLTER USER IDENTIFIED WITH mysql_native_password BY ‘ root password created the moment of installing mysql’ įLUSH PRIVILEGES Bugs you could encounter while accessing phpMyAdmin (PHP7.2 + phpMyAdmin).Press Yes to configure phpmyadmin - Enter password for phpmyadminīy default you cannot login as root user through phpMyAdmin. Press “ space” to select apache2 ( *) then press “ tab key” and “ enter” to confirm. Then follow steps below after each prompt respectively phpMyAdmin is a free and open-source web-based database management tool for MySQL. To install it you need to execute the command below sudo apt-get install phpmyadmin PhpMyAdmin facilitate accessing and managing your MySQL database via a web page. To check if PHP is installed successfully, go to /var/Feel free to remove it or modify it) and copy past the code below in it Īfter visiting the link (x.x.x.x public IP address of your EC2 instance), you will see this page We need to restart apache to get last system changes sudo service apache2 restart To install PHP and some other most commonly needed modules, we will use again apt-get and executing the command below sudo apt-get install php libapache2-mod-php # necessary modules for PHP server sudo apt-get install php-mysql php-curl php-gd php-json php-zip php-mbstring php-mcrypt You will be prompted to MySQL command screen. Now after finishing installation you can check if MySQL works fine by logging to your database using the command.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |