1- Open the terminal
2- run the command sudo mysql -u root -p
3- Enter the password of the root user
show databases;
mysql> INSERT INTO books (title, author, image_pathLocation) Values ('Exploring The Planets', 'Jonathan Rutland', 'images/resized-ExploringThePlanets.jpg');
DON'T USE THIS CODE IN PRODUCTION THIS IS A TESTING ON PREM LAMP STACK. ALL DB CONNECTIONS ARE TO localhost
Product UI
Architecture