How to access phpmyadmin in cloud - mysql

I have deployed my xampp server to the Google cloud using bitnami tutorial. The next day when I try to access
127.0.0.1:8888/phpmyadmin/
I can't seem to. I initiated ssh using puTTy and I have the welcome page like so. I am getting the "Unable to connect" generic response from firefox. And I am getting "the remote device or resource cannot accept connection" in IE. Is there any way to debug this?
Update: I added the my.cnf file in mysql folder in the cloud. Are the configurations right?
This is my log file image.
Here serverip/xampp/ shows that mysql is deactivated

Related

Azure MySQL in App: The server is not responding

I have an Application hosted in a Windows WebApp with MySQL in APP enabled.
After realizing the application wasn't responding I could see in the logs errors about MySQL not responding.
So when I try to access the PHPMyAdmin from the console (clicking on the manage button) I got this error:
I already tried to restart my application, and also stop/start but nothing works.
I already looked for other posts here and no one help me, unfortunately.
As per your screenshot error, it is expected when we are using the Free F1 tier as you can see in my below Screenshot when i tried to reproduce the same.
Later when I changed to Standard S1 SKU and tried to access the PHPMyAdmin from the console, got the expected response from server.
Create an App service.
Go to create a web app. Left-hand side menu search MySQL. and click MySQL.
Click MySQL in App and convert off to on. and click the Save button.
Then Manage Enable and click on the Manage link. phpMyAdmin open.
Solved fixing the database port.
After checking the application's logs I realized a loop of tries to connect to the database and it got all memory and cpu of the server, doing the phpMyAdmin out of the connection. So after scaling the instance and restarting the application, I realized the MySql port had changed. So the problem was because in some time the MySQL port changed generating an infinite loop in the application and in the end making phpMyAdmin out because there was no memory available in the server.

FTP Command Line - "Connection closed by remote host"

I have an Access DB app that exports a table (to XLS) then FTPs to our FTP server over our VPN. This routine has been working for several years, until ~yesterday. I am not sure what could have changed to break this function.
This is not really an Access DB issue as I see the same "Closed Connection" when manually attempting to FTP PUT at the Windows command line. Other users of the Access app (VPN and local) are not seeing this same issue.
I did receive a Win10 Security update this week - possible this affected my firewall settings?
Any suggestions where to begin? Googling suggests to portforward Port 20/21, but this seems to have no effect either.
Thank You!
Note 1: I do use WinSCP for passive transfers for another specific task to FTP to a 3rd party who requires passive transfers. Some of our users in India are unable to use this tool reliably, so I am hesitant to convert this basic function in my Access app as it works everywhere but my local machine.
Note 2: I attempted to add "QUOTE PASV" before a command line transfer with no effect. As I am reading, Windows FTP utility does not support Passive transfers
Note 3: FileZilla can see and transfer to the FTP server using "Plain FTP" mode. Interesting, but I really need this to work via command line without requiring a 3rd part app installation.
Note 4: I uninstalled the Win10 Security Update - No effect

PHPStorm head method failed

Attempted to add a project from a server on a remote host. I can SSH & SFTP without PHPStorm in no prob. The first error I encounter is attempting to select my remote server; when I test the connect, it is successful. When I do not check off 'Don't check HTTP connection to server', I get:
Connection to 'Server' failed.
HEAD method failed for "ip address" with HTTP status 401.
If I enable Don't check HTTP connection to server, I can proceed and I am brought to a list of all directories on my remote server. I select my project as the project root, and attempt to download. Collecting files goes smoothly, and downloading goes by well until a particular file is reached. Error msg:
Downloading Project Files failed: failed to transfer file 'wireframes.scssc': channel is not opened.
I tried to exclude that directory from download, but it had no effect.
The apache server is configured with basic access authentication. I disabled mod_auth_basic (as confirmed in php.ini), but am still prompted for credentials even after an apache restart. This is second issue preventing me from exploring this potential solution. Any suggestions?
http://imgur.com/a/qGC1I
I had this same issue, to fix it I chose custom for deployment options and then added .sass-cache to the list of things in the "Exclude items by name" field.
I also had to close and re-open phpstorm or it would fail immediately after starting the download.

How do I setup my SFTP connection to my Google Compute Engine instance so that I can read and write files using Filezilla?

I created a LAMP stack instance on Google Compute Engine and followed the instructions for setting up FTP as described here.
Most of this worked, I can view files and ftp files to my local workstation FROM the instance. The problem is I can't ftp files TO the instance. Whenever I try to do so Filezilla gives me a permission denied error.
I tried right clicking on the "www" folder in Filezilla to set the permissions but that didn't work.
I'm guessing that write permissions have to be set by SSH-ing to the server and executing some sort of command but I'm not sure how to do that.
Any ideas as to how to go about doing this would be appreciated.
By default the /var/www directory is owned by 'www-data' on the debian instance. You should add your user to the 'www-data' group, and give the directory +rw (read and write) for groups.

NAnt - The remote certificate is invalid according to the validation procedure

Using NAnt, I'm trying to download a file from my Mercurial server via my build script.
The Mercurial server is configured to allow access via https using a self-signed certificate.
I'm able to download the file without issues using a web browser, so I know the permissions on the server are set properly.
When I try to do this via NAnt however, I get an error stating 'The remote connection is invalid according to the validation procedure.'.
Can anyone offer suggestions as to how I can resolve this?
The server's certificate needs to be installed on the machine executing the script in order for this to work.
See this procedure for instructions on how to do this. You'll need to export the certificate from the server before starting. This can be done by viewing the website's certificate details in your browser and exporting them.