Skip to content
Snippets Groups Projects
Commit e4785764 authored by Alejandro Gonzalvo Hidalgo's avatar Alejandro Gonzalvo Hidalgo
Browse files

Update 5-2-accessing-your-website-via-oc.md

parent 8516a19f
No related branches found
No related tags found
No related merge requests found
......@@ -147,3 +147,12 @@ Type `ls` and hit enter to see the content of `/app`.
The `rsh` stands for remote shell session (see more information [here](https://www.mankier.com/1/oc-rsh)) and the `-c` argument specifies the container name
`php-fpm` (https://php-fpm.org/) is a PHP-specific implementation of [FastCGI](https://en.wikipedia.org/wiki/FastCGI) allowing us to interface with programs with a web server.
At this stage, you have access to the `composer` and `drush` for the accessed pod.
## Getting SQL Database credentials
To get SQL database credentials type:
`drush sql-connect`
You should receive this in return:
`mysql --user=<sql_username> --password=<sql_password> --database=<sql_database> --host=<cern_proxy> --port=<db_port> -A`
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment