MySQL password unknown in LAMP stack on Google Cloud Platform - mysql

I just start using Google Cloud Platform today and I create a LAMP stack machine, which run Debian 8, following Google they dont give any support for it and I'm trying to figure out which was the password they put on my SU and the password they put on the MySQL database.
Anyone has a idea?
I tryed using my own google password for superuser without any success.
Thank you for reading and replying!

Go to the Deployment manager on Google Play, https://console.cloud.google.com/dm/deployments, click your deployment and on the right side you will see the following: MySQL password (Temporary)

On the properties and info of the VM (Lamp Stack), in my case lamp-1 you can found the password autogenerated with the name mysqlRootPassword

Related

how to make local mysql connection open at the start of computer(windows)?

am trying to create an standalone desktop application in flutter which uses mysql as local database.
my problem is when i need to use database from my application i need to open mysql command line client and enter my password to start service( or open connection).
In simple term whenever i open my desktop application mysql should be ready to use. how can i achieve this?
I have tried starting mysql as windows service . Is it the answer which i should follow?
I followed it. But it didn't work for me..
during installation of mysql in windows you'll get the option to start mysql as windows service. if you don't get you can follow starting myswl as windows service.
after this step open mysql installer-community from searchbar.
Look for "MySQL server" and click on Reconfigure
Click on "Next" until you reach the "Authentification Method" page
On the "Authentification Method" page check the second option "Use Legacy Authentication Method"
Then follow the steps given by the Windows installer until the end.
now you could directly connect to database and perform actions without creating it's local instance or without even opening mysql command line client or workbench.

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~

Openshift : I am trying to run rhc setup on linux. Am getting username and password error message

I am trying to setup openshift on ubuntu. When i ran rhc setup, asked for username and password, it throws username and password error message. I logged in using the github username. Please let me know.
Thanks
The rhc program is for the old OpenShift 2 and not the newer OpenShift 3 which is currently in developer preview for online and which it sounds like you are trying to use.
If you want the newer OpenShift version, ignore all documentation you find that talks about rhc. The command line client for OpenShift 3 is oc. Even when you use it, for the developer preview, the oc login doesn't take the login/password for GitHub. Instead you need to login into the web console after having logged into GitHub. You can then get access to a token you use to login from the command line.
For general usage of OpenShift 3, I would suggest perhaps you start out reading the free eBook at:
https://www.openshift.com/promotions/for-developers.html
Just ignore the bits about local VM and use the online developer preview version instead and take note of what I say above about how login works, as is different to what the book describes when using the VM.
General documentation for OpenShift 3 can be found at:
https://docs.openshift.com/online/welcome/index.html

Extracting couchbase password for community edition 3.0

I'm following the instructions from https://stackoverflow.com/a/16183654/1682047 to get the default password for the web administration interface for Couchbase community edition 3.0 on Mac OSX.
The output I'm getting is:
{"Administrator",
{password,
{<<238,136,67,75,141,237,40,59,33,177,155,180,223,187,81,66>>,
<<192,248,28,234,200,221,64,180,227,97,224,218,72,185,178,209,10,
35,227,195>>}}}]},
How do I interpret this?
Alternatively is the default password listed somewhere (doesn't show up when googling)? Links to couchbase forums from Google also seem to be broken.
The default account details are:
User: Administrator
Password: password
You can also use the cbreset_password tool to change forgotten passwords.
Oops, this was due to me having a data directory around from a previous install. To fix this I just deleted the existing directory at /Users/your_user_name/Library/Application Support/Couchbase.

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.