I'm moving to Ubuntu Linux 20.04 on VirtualBox to use as my development web servers running Apache, MySQL, and PHP. I was introduced to a new MySQL concept that I had not seen before. You can log in to the root user of MySQL using "sudo mysql" instead of using a username and password.
Today I had to solve the following problem: How do I write a PHP a script for terminal that works with this method of logging in to MySQL.
#PHP #MySQL #Terminal #WebServer #WebsiteDeveloper