azure-postgresql/samples/java
rachel-msft 3ffb9d8d8d created java folder in samples; added connect and query quickstart 2018-01-29 11:22:38 -08:00
..
src/main/java/com/microsoft/azure/postgresql created java folder in samples; added connect and query quickstart 2018-01-29 11:22:38 -08:00
.gitignore created java folder in samples; added connect and query quickstart 2018-01-29 11:22:38 -08:00
LICENSE created java folder in samples; added connect and query quickstart 2018-01-29 11:22:38 -08:00
README.md created java folder in samples; added connect and query quickstart 2018-01-29 11:22:38 -08:00
pom.xml created java folder in samples; added connect and query quickstart 2018-01-29 11:22:38 -08:00

README.md

Running this Sample

To run this sample:

Set ENV variable PostgreSQL_HOST to "your_Azure_PostgreSQL_hostname"
Set ENV var PostgreSQL_DATABASE to "your_Azure_PostgreSQL_database"
Set ENV var PostgreSQL_USER to "your_Azure_PostgreSQL_username"
Set ENV var PostgreSQL_PASSWORD to "your_Azure_PostgreSQL_password"

For more info on how to create an Azure PostgreSQL Database using Azure Portal and retrieve the log in credentials see https://docs.microsoft.com/en-us/azure/postgresql/quickstart-create-server-database-portal

More information

http://azure.com/java

If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.


This sample provided by Java on Azure Dev Experiences team.