Sep 5, 2023

MySQL (Structure Query Language Open Source), SELECT, UPDATE, INSERT, DELETE

https://www.niagahoster.co.id/blog/cara-install-phpmyadmin-di-ubuntu/

MySQL > phpmyadmin > database


Instal mysql

sudo apt install mysql-server

sudo systemctl start mysql.service

sudo mysql


Instal phpmyadmin

sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl

sudo apt install phpmyadmin

sudo systemctl restart apache2

---------------------------------------------------------------------------------------------

Connect to Database (MySQL)

<?php
   $conn = mysqli_connect('localhost', 'root', 'password', 'dbname');
?>