phpmyadmin login returns to login screen - mysql

I've upgraded my server from Ubuntu 16.04 to 18.04 intending to go on to 20.04, but the original install was i386 and support for that has been discontinued.
Now, when I try to use phpmyadmin, I get the login screen. When I enter a bad password, I get the error: mysql access denied, but when I enter the right password I just get the login screen again.
Searching for this problem only gets me solutions of the form "you've forgotten your password, how to reset your password". I'm pretty sure I got the password correct as the response is different between getting it right and getting it wrong.

Phpmyadmin swiched to not allowing http access, requiring to login using https. Somehow the "error message" (i.e. none) is not optimal to getting the user to understand the issue.
So: phpmyadmin (in some versions?) does this when it wants you to login in using https and not http.
Tip for phpmyadmin developers: Tell this to the user while presenting the login screen: This phpmyadmin is configured not to allow http logins as they are unsafe. Now I've sent my password across the network unsecured several times while trying and trying again, not understanding what the problem was.
I know I'm going to run into this again in a few years. Hopefully by then Google knows to find this.

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.

IBM Websphere security issue - Password reset

I have an issue with IBM Websphere,
We forgot our password and I followed the topic I found here in the forum to reset admin password.
How to reset password for admin account in IBM websphere 6.1?
Issue I have is when I disable security, I get into the websphere console but have NO option to get into security tab. No tab available except "tasks", so I cannot enable security nor reset the admin user there.
Also, after this, I cannot put security on again. I keep getting the login page with no password.
I tried the script with securityon instead of securityoff (sounds logical to me) but now it requests user password to do so...
If I manually edit the security.xml to put security enabled="true", I get a startup error...
UPDATE 1
There was an issue loading applications, so that's the reason why I could not get the menu on the left. However, I could not find any solution to it, and decided to restore the system.
Now I can get the menu list, but face another error when I try to reset the admin user with the wizard, at the last steps here is the message error I get :
SECJ7305E: Found other virtual member manager repository configurations. Only the built-in virtual member manager file-based repository is supported through the wizard
This actually blocks me, and I cannot go further.
I tried to run the wizard without activating security as well, but not working either.
I do not want to mess with user repositories as some repo's are configured... I just would like to reset the admin password :(
Anybody faced this issue? Any help/idea is greatly appreciated.
Thank you

I can sign into remote phpmyadmin with my credentials, but when I try and connect to the db in phpstorm, I get rejected password

I can connect fine in phpymyadmin in the remote database server fine. I want to have access to the db in phpstorm to make coding a bit easier but I keep getting rejected password. Im using the exact same credentials I am ussing to sign into phpymadmin. Could this be the server configuration? I know nothing about that. I wont be able to speak to the server admins until tomorrow so I won't be able to ask them about it. Would be nice to have it working now.
Furthermore, the code on the webserver does not seem to talk to the database. Again, I am using the same credentials to sign in with the php code.
It was working flawlessly on localhost, but now since I've moved it over to a remote web server and database, nothing seems to be working correctly.

Cannot access the Couchbase 4.1.0 Web Console

I'm new to Couchbase and I ran into a problem which I couldn't solve by browsing the web looking for help. I've recently installed Couchbase 4.1.0 Community Edition onto a Windows Server 2012 machine. Everything worked well, I've set up admin password, but I can't login onto the Web Console. I've tried both "localhost" and "127.0.0.1" with identical results. This is what I see when I open the Web Console:
Couchbase Web Console
When I enter correct user name and password and hit "Sign In", the page just reloads and shows blank fields. Nothing else happens. When I enter an incorrect password, I see the following:
Couchbase Web Console - incorrect password
That's it. No action at all. I've tried resetting the password many times (cbreset_password.exe), even reinstalling the whole thing, but nothing changed.
Any help will be much appreciated! Thx.
I now know the answer and it has nothing to do with Couchbase itself. After weeks of inactivity on this task, I wanted to download the Oracle SQL Developer. As with all Oracle software, I had to pass a single sign-on form.
I filled in my username and password, and bang, the form merely reset itself! No error message, nothing. I've immediately had a deja vu. So I started to suspect something has to be wrong with the Internet Explorer's cookie settings. (It's all on a virtual machine which I only use occasionally, otherwise I'd have noticed it way sooner.)
I downloaded and installed Firefox, and both Couchbase and Oracle sign-on started to work! :)

OpenShift Database Host Value?

I'm trying to install Infinite WP on Openshift, so far, I have uploaded the source files. But, when I was on the installation page, it asked a database host, username, and password. I have the username and password, but I don't know what to put in the database host box. Anyone have any ideas?
After a couple hours of playing around with OpenShift, I solved my problem. After you install phpMyAdmin, go to the web interface. When it asks you for a username and password, look at the instructions at the top of the pop-up window and it should include an Ip address. Enter that as the database host during the IWP installation screen and your problem will be solved.
You can also use OPENSHIFT__DB_HOST variable for host value.
Openshift have given different variables for connection : https://developers.openshift.com/managing-your-applications/adding-a-database.html