OpenShift Database Host Value? - mysql

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

Related

phpmyadmin login returns to login screen

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.

Encountered problem while integrating devstack - osm (open source mano)

I'm currently trying to develop a cloud in my pc using virtual box. The idea is that I have 2 virtual machines, one which devstack installed (all in one) and the other with osm mano. Right now both have everything installed. Hence, I can log in to mano via user and password 'admin' as well as to devstack.
Current properties:
VM1 (devstack): IP (enp0s8) -> 192.168.56.101
Login to 192.168.56.101 -> correct
VM2 (mano): IP (enp0s8) -> 192.168.56.105
Login to 192.168.56.105 -> correct
As some of you may guess, I have 2 network interfaces in every vm, the first one being NAT (enp0s3 with 10.0.2.15 IP) and the second one being Host Only (192.168.56.x according to virtual box).
Needless to say, I can ping from one virtual machine to another without any problem.
Now, in the past I've being using devstack (ubuntu 18.04) in order to play with it a little bit, learn how to deploy instances, create groups and so on. Indeed, I developed a topology with an instance as a router and nagios as the monitoring tool system. It worked and I learnt a lot!
Anyway, what I want in this case is starting from scratch (scratch meaning having downloaded mano and devstack but without going further). So here I am, trying to integrate OSM with Devstack, making use of osm-vim command as it is:
osm vim-create --name openstack-site --user admin --password my_openstack_password --auth_url http://192.168.56.101:5000/v3 --tenant admin --account_type openstack
In this case, my openrc file (downloaded from horizon) resulted in my auth_url being:
export OS_AUTH_URL=http://192.168.56.101:5000/v3
What I'm trying to get my head into is how it's possible that this doesn't work, as whenever I log-in to mano web interface (after osm-vim command) I go to VIM accounts and operational state equals to "error".
Any kind of help would be much appreciated, as I've being struggling for a week now.
Thanks in advance!
I had the same problem. At the beginning I thought It was a network problem, but finally I found out It was due to a SSL problem. The most easy solution is to put a specific flag to avoid the SSL verification until the developers fix it. "--config '{insecure: True}'"
I also encountered this problem when I finished installing OSM-10 and OpenStack-Ussuri for Ubuntu18.04 some days ago. I solved this problem by change the url "--auth_url http//:192.168.23.18:5000/v3" to "-- auth_url http//:controller:5000/v3" and put "192.168.23.18 controller" in the ro container "/etc/hosts". The "controller" here is the host name where you install your openstack and which is used is your keystone authentication urls. Maybe you also have solved this problem but this problem is so troublesome and I hope more people do not be annoyed at this~

I have tried installing Mifos X on Xampp. It's worked as I could access the UI on my browser but I had lots of problems with the credentials

I recently installed Mifos X on my laptop on Windows 10 Pro using the Xampp server.
I put the fineract folder in the htdocs as I would with all the other framework. Only problem, after following all the steps, I was using mariaDB server and I set the password differently from the one they suggested (note: I followed all the instructions only changed the MySQL Server pword differently and was using pma as workbench).
I would like some assistance on how to fix the credential problems as well as being able to set up the incubator-fineract for developers.
Thank you!
You need to place the war file inside the tomcat webapps directory and I strongly suggest that you use the pre-defined username and password for mysql connection , if you like in production you can do this so by editing this file
https://github.com/apache/fineract/blob/develop/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/db/DataSourceProperties.java
Apache Fineract uses self singed certificate , one has to open the https://localhost:8443/fineract-provider/
You will see the screen to accept and store the certificate in your browser and then you can login via your UI.

Openshift access to phpMyAdmin?

How do i access phpMyAdmin using openshift?
I'v just set up a new openshift account today and I really have no idea what I'm doing.
I'v added Node.js, MySQL 5.5 and phpMyAdmin 4.0.
With other web hosting services I could get to the phpMyAdmin user interface with the click of a button but with openshift... I don't see any button...
Thanks for your time.
If you have added phpMyAdmin and if you can see it under your application, you will be able to access it using this url;
https://XXXXX-XXXXX.rhcloud.com/phpmyadmin/
replace XXXXX-XXXXX as per your url.
If you haven't changed the default's, phpMyAdmin uses same username password which you use for MySql.

How to access phpMyAdmin on remote server

For my websites I use Dreamhost. Dreamhost requires you to create a hostname (ex: mysql.mclindigital.com) that the database will reside on. For me it's simple, if I want to access phpMyAdmin, I simply navigate to mysql.mclindigital.com, and it enters into phpMyAdmin automatically.
Apparently Dreamhost is in the minority using this method, because most people seem to use "localhost". So, how do I access phpMyAdmin for these websites? Will I need to get their Web Panel login info to browse around for this info?
As an example, I had a past client and I had to go here: http://216.120.237.104:2082/3rdparty/phpMyAdmin/index.php to get into their phpMyAdmin. I never really understood what I was doing, but it just worked. Now I am in the same situation, but this time the client isn't as tech-savvy and is unable to give me the URL I need to go to.
Also, I should point out I am not 100% certain that they have phpMyAdmin installed. I do know they have a database however, because they are running a Wordpress Blog.
There is nothing magic or special about phpMyAdmin. It is just
a bunch of php scripts.
Some webhosts(Such as dreamhost) may install it as standard
similary to formmail and a bunch of other tools they may install.
Your problem is most likely that you client don't have
phpMyAdmin installed, and the easy solution(If you have ftp access)
is to go to http://www.phpmyadmin.net/home_page/index.php download
phpMyAdmin, configure it and then just upload it to their ftp server
your self. Then you can acces it similary to any other php script.