AWS Documentation

  1. Home
  2. Docs
  3. AWS Documentation
  4. AWS LAMP Stack PHP 7.3
  5. Get System Log

Get System Log

You can also SSH into your instance and find the login credential using the following command.

$ cat /home/ec2-user/credentials
/////////////////////////credentials info ///////////////////////// 

 — — MariaDB
 — — — User : root
 — — — Password : ****************
////////////////////////////////////////////////////////////////

If you find ‘setting error’ message, please try to set the root password according to following documentation below.

Tutorial: Install a LAMP Web Server on Amazon Linux 2 | 2. Run mysql_secure_installation.

If MySQL database is not already installed, use this command to install.

 $ sudo mysql_secure_installation
Was this article helpful to you? Yes No

How can we help?