-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lab 10: Connect to source issue #11
Comments
If you are doing it with Azure VM then the public network NSG needs to be set up. If those work for you then I will write that up - the password not correct when it is says to me that there is something blocking communication from Migrate PostgreSQL to Azure Database for PostgreSQL Flexible Server |
You have localhost as the server name. The source server has to be accessible to the flexible server, i.e. it has to be accessible from the internet. So you have to allow your IP address and port 5432 open. Azure won't be able to resolve localhost. |
I am testing it outside of VM environment.
I have also added Firewall rules for port 5432.
|
Are you able to connect to your database from say another Azure VM? you can either telnet to 5432 or using powershell: Test-NetConnection -ComputerName -Port 5432 -InformationLevel "Detailed" I found I had to set up a NSG for port 5432 on the VM and also do windows firewall on the VM itself |
Having the "local" database in an Azure VM works, so there is probably some additional network setting in my work computer that I need to change before establishing any connections to it through the internet. I reproduced all the configuration steps in both environments but it works only in the VM. I guess we can consider it an edge case and close the issue. |
One more thing, in the instructions for Create Database Migration Project in Azure Database for PostgreSQL Flexible Server, step 5 you reference user as |
Thanks for spotting that - I have corrected it and pushed to #13 |
Module: 00
Lab/Demo: 10
Task: Create Database Migration Project in Azure Database for PostgreSQL Flexible Server
Step: 04
Description of issue
After importing the users and roles from the local server to the flexible server, I could not connect to source when creating the Migration project in the Azure Portal. I tried using both the postgres superuser and the pgadmin user created without a superuser role but both options return an error
Failed to connect to server : Authentication failed. The provided password is incorrect. Please confirm it and try again
. I've triple checked the passwords and they both work when connecting locally to the database, so I'm sure they're correctly typed in the configuration step.Repro steps:
The text was updated successfully, but these errors were encountered: