Laravel Forge DB Mysql Connection via Desktop Client Issue - database

I have an issue with connecting to my databases via desktop client. I use ssh key to connect to my server via console and I am able to connect to my live server.
But no luck for my database connection. I use TablePlus as my desktop client and I keep getting SSH Error, can't connect to host. That's all I get.
How can I find out what the problem is exactly?

Related

How to fix data connection between rds database and asp.net application?

I am not able to connect to my aws-rds instance from asp.net application
I have been trying to connect my asp.net application with my aws-rds instance i have tried using connection strings setting, its doesn't work, but i am also able to connect to my aws-rds database from sql management studio
i also tried to use migration but when i do update-database from console it create a new database in local db
i have also try to provide all required setting and data and then publish my application with aws toolkit but when opening my site link it gives a error -An error occurred while processing your request.
so any can help me with this issue or provide me the proper steps
Check Inbound and outbound rules for instance.
try to connect it with your instance IP.
refer enter link description here

Connecto to SQL Server hosted in remote desktop

I'm working on a webapp with nodejs that syncs data from an ERP sql server database with an e-commerce website. The trouble is that I don't know how to generate the connection between the nodejs app(web) and the sql server, 'cause the way to access to the ERP enviroment is through the remote desktop with the IP and windows user credentials. All the npm modules that I've been testing only allow me to connect without the request of the user and password of the windows server.
I hope someone can help me somehow.
Thank you!
You should configure your remote computer's firewall to allow remote connections SQL's server port. After that you are required to create a user other than root ( since root only works locally ) on your database so you can connect to that one.Then using the npm module 'mysql' you can connect to your database.

Azure AWS Db Connection

I’m having a very specific issue with Azure and I couldn’t find any solution on the web.
So, we are little by little migrating our client’s infrastructure to Azure and we are starting with our Workers (webjobs).
These webjobs need to consume data present on a AWS SQL Server instance.
We already have checked that the App Service Plan’s Outbound IPs are whitelisted and that the SQL server is listening on TCP port 1433.
An evidence of that is the fact that we are able to communicate with the SQL Server instance through the Azure Debug Console:
But when we run the WebApp, the worker cannot find and connect to the same DB:
Does anyone have a clue of how I can solve this issue? It would be very appreciated!
Well, as you demonstrated by the first image, the SQL Server instance is configured correctly.
The worker Outbound IP address is definetely the same as the App Service Plan's machine.
Based on that, can you then please check if the Connection string you are setting have 'tcp:' before the IP Address?
Sometimes you need to force it, otherwise IIS can choose other ways to connect to your SQL server (like UDP for instance).

using localhost via VPN

I am connected to a remote server via VPN (lets call it server A). From that server I connect to a virtual server via SSH (lets call this one server B). I have installed lamp and drupal on server B but I cant figure out how to verify that the installation was completed successfully. I thought that looking into localhost would do the trick but the browser says it cant connect to the server.
Have I done something wrong? Should I use some GUI remote connection tool (if there is one ?).
How can I open sites created with drupal in a browser?
Well, the problem was probably somewhere in my mac, I have restarted it and there was no problem to connect via VPN no more.

Connect to ec2 database from non-local without tunneling

I am making some application and I need to connect to database which is on Amazon server.
It works fine from local but I need direct access to database without ssl tunneling.
On AWS console 3306 port is opened

Resources