Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing AppFog

You're reading from   Implementing AppFog Getting to grips with the AppFog service is easily achieved with this hands-on guide, which walks you through creating and deploying applications to the cloud. You'll be developing your first application in minutes.

Arrow left icon
Product type Paperback
Published in Nov 2013
Publisher Packt
ISBN-13 9781849698184
Length 86 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Configuring the database console


Most of the configuration for the database console has already been done. The one thing we need to provide is a password for the database administrator. (By default, the database administrator user name is the e-mail address you use as an AppFog user name.) Passwords are sensitive information and should never be included in application source code. Thus the console application doesn't store a password in its own files. Instead it looks for the password in an environment variable named PMA_PASSWORD. To set this variable:

  1. If your web browser isn't already showing the application control panel, go to the AppFog console and click on the application name.

  2. Click on the Env Variables button on the left side of the page.

  3. The environment variables display appears. Enter PMA_PASSWORD under Name and a password under Value.

  4. Click on Update to save the variable and restart the application.

    Note

    Creating or modifying environment variables always causes your application to restart...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image