Hi,
I need to connect mysql:
I did vagrant ssh
then: vagrant@ascension:~$ mysql -u ascension.dev -p
and the password in vault: xy&G6o2kKH$#AFz247N.
developement/vault.yml:
# Documentation: https://roots.io/trellis/docs/vault/
vault_mysql_root_password: "xy&G6o2kKH$#AFz247N."
# Variables to accompany `group_vars/development/wordpress_sites.yml`
# Note: the site name (`example.com`) must match up with the site name in the above file.
vault_wordpress_sites:
roots.ascension.com:
admin_password: "DM93zj,o29KjT/bh$8G$"
env:
db_password: "qP42q2*?hjt.P+x7Bzc6"
Connection type: SSH
MySQL host: 127.0.0.1
Username: example_com
Password: example_dbpassword (use the value of db_password from group_vars/development/vault.yml)
SSH Host: example.dev
SSH User: vagrant
SSH Key: Select the following file from your Trellis directory: .vagrant/machines/default/virtualbox/private_key
mysql --version
mysql Ver 15.1 Distrib 10.0.29-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
vagrant@ascension:~$ mysql -u ascension_dev -p
Enter password:
ERROR 1045 (28000): Access denied for user 'ascension_dev'@'localhost' (using password: YES)
vagrant@ascension:~$