For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.
- login into your server using ssh or from lightsail ssh
- get default password
- Username: root(it’s default)
- Password: MnQERJ8dwswsdgcHkQ(Like this) .Connect to Bitnami Lightsail through SSH on Lightsail Dashboard to access the command line tool. Using
cat bitnami_application_password
to get the password, this is the same with the password you access to Wordpress (based on Lightsail) in the first time.
3. ### Modify the configuration file
Goto
/opt/bitnami/apps/phpmyadmin/conf
file
sudo nano
/opt/bitnami/apps/phpmyadmin/conf/httpd-app.conf
changes are =
(a).
#Allow from 127.0.0.1
Allow from all
Allow from all
(b).
#Require local
Require all granted
Require all granted
------------------------------somthing like this------------------ <IfVersion < 2.3 > Order allow,deny #Allow from 127.0.0.1 Allow from all Satisfy all </IfVersion> <IfVersion >= 2.3> #Require local Require all granted </IfVersion>
4. ### Restart of apache
sudo /opt/bitnami/ctlscript.sh restart apache
5. ### Browsing
http://hostname/phpmyadmin/