This article discusses how to connect to the TAS internal MySQL database. TAS uses this database to store information for UAADB, Apps Manager DB, CCDB, App Usage Events DB, Autoscaling, and Notifications.
Follow the steps below within the TAS Tile of Operations (Ops) Manager:
For TAS for VMs versions 1.11 and lower:
Status
tab and retrieve the IP from the specific MySQL Server
node
.
Credentials
tab and retrieve the Mysql Admin Credentials
from MySQL Server mysql -h <ip> -u root -p
where the IP is retrieved from step 1 above. The password will be prompted after you select enter.
For versions 1.12 and higher:
bosh -d <CF-DEPLOYMENT> ssh mysql/0
mysql --defaults-file=/var/vcap/jobs/mysql/config/mylogin.cnf
mysql --defaults-file=/var/vcap/jobs/pxc-mysql/config/mylogin.cnf
Here are a few popular MySQL commands:
mysql> use DATABASE;
mysql> show tables;
Also, link to the bootstrap docs as they instruct you to run commands to check the status of the cluster.