I'm working on a linux deployment project of an webdev's application.
This application is perfectly working on Windows.
But when I'm deploying it with the pcsoft's deployment tool on a linux server (PCSoft WebApplication Server), the server is looping, and I got a timeout message.
In the application, there is a screen where the user fill a form, to initialize the database's connection. When the user sends this form the server try to call the MySQL server, and it's at this moment, the server is looping.
And I don't have any log.
Can you help me ?
Related
I'm Running Linux Ubuntu 16.04 LTS on google cloud compute engine. this server hosts a website which in turn uses the sql client to connect to a sql instance also running on google cloud platform. I connect to the webserver using ssh which all is fine until I connect to the sql instance.
once this connection is made and the website also can connect to the database my screen is flooded with messages like:
2017/07/12 16:56:30 New connection for
"snappy-gantry-xxxxxx:europe-west1:xxxxx" 2017/07/12 16:56:30 Client
closed local connection on
/cloudsql/snappy-gantry-xxxxxx:europe-west1:xxxxx
This makes it undo-able for me to continue working on this machine. How can i disable this so i can continue my work?
As it is the server is still in development. when it goes to production is don't mind it but even then i don't need those messages.
The problem doesnt occur anymore. What i first did was setting up the connection with sql under my own user account which then spit out the logging. I now started it under the service account and when i log in under my own name i don't see the logging anymore.
My app seems to run fine sometimes, and other times it says it cannot connect to any of the MySQL servers.
I started out with the MySQL server being hosted in azure as well, but I moved it external due to connectivity issues.
I finally moved the ASP.Net app to a real VM instead of being hosted as a website. I tested a manual connection to the MySQL server when it became unresponsive and it failed as well. I then did a trace route to the server and it failed as well.
Is this a known issue? Is this a duplicate of: Classic ASP site on Azure web site, remote mysql database
I’m am trying to use Microsoft WebMatrix version 3 to create and publish a WordPress site to an IIS 8.0 server.
I have created the WordPress site from the WebMatrix App Gallery and as part of this process MySQL has been installed locally on my PC.
I have configured the IIS server for Web Deploy. I have created a website in IIS, I would like to publish my new wordpress site to. I also created a remote database on another server which has MySQL server installed. As part of the publish process, I would like the local database to get published to this remote database. As of now, it is an empty database with a valid username and password.
From within IIS, when I create the publish settings file I get the following error:
"Unable to establish a connection to the MySQL database using the supplied connection string. Would you like to add the connection string to the XML settings file"
I click save and proceed.
When I use this settings file to validate the connection inside Web Matrix. I get the following error.
"The remote server connection succeeded, but Microsoft WebMatrix cannot access databases."
Related info. I have verified that my remote database is available by connecting to it directly from within Web Matrix. The port 3306 is open. I don't know what else I need. Stumped for several days now :-(
Any suggestion will be greatly appreciated.
I've hosted MVC application having MySql server instance in AppHarbour as backend but build is getting failed. We would like to connect MySql instance from local application but it can't access tables and schema while is opening and connecting to instance successfully.
You can't connect AppHarbor to a local db. If you have a hosted MySql instance though, you can connect it to that.
AppHarbor shows you build errors. You can read the build output and find out why it is failing (if it is the build failing or unit tests failing).
Either way, whether or not MySql is hosted or local, that shouldn't affect whether or not the project builds in AppHarbor.
When I run a Classic ASP app on my dev machine, I am getting a "Login timeout expired" error when trying to open a connection to the database (Sql Server 2008). It is returning almost immediately, so it doesn't seem to be a timeout error on the connection. The website and database are both running locally.
This seems to only happen from VBScript, a VB6 dll that is called from the same website (using COM from VBScript) is able to access the database just fine. Also, it worked this morning but I took my laptop home with me and now it doesn't work.
Any ideas what could be causing this?
I figured it out. I had to enable TCP/IP and Named Pipes for Sql Server. I'm not sure why it worked before and not now, but it does work!
To do that,
Open Sql Server Configuration Manager (from the Start menu)
Select Sql Server Network Configuration -> Protocols for MSSQLSERVER
Right-click TCP/IP and Named Pipes and select Enable from the menu
Restart the sql server service (same tool, Sql Server Services section)