There's a wide array of MySQL clients that you can use, including: However, if you've saved the credentials in a local client and a month later you can't connect, check your Dashboard for the current credentials. Normally, this is transparent to a site, as the credentials are automatically included by the server. This value will always be pantheon and cannot be altered.Įach database server is in the cloud, which allows credentials to occasionally be updated, without any notice. Password: The password to use when connecting to the server.Username: The user name to use when connecting to server.Port numbers will differ in every environment for each site, and might not match what PHP reports. The platform randomly selects the port number. Port: The TCP/IP port number to use for the connection.The following required fields are provided: Navigate to the environment you want to connect with, and select Connection Info to view your Database credentials. The database credentials for each site environment are located in your Site Dashboard. You cannot access the database directly if you have purchased Secure Runtime Access. You can view an example in the Create Secure Connection to MySQL using TLS documentation. As an alternative, consider using a Bash script and Terminus connection. For security reasons, using the $_ENV superglobal inside PHP applications is not supported. Database Connection Information Platform ConsiderationsĬonnections will change from time to time due to the containerized nature of the platform. You will need to check the Dashboard periodically or when you can’t connect. Due to the nature of our platform, the connection information will change from time to time due to server upgrades, endpoint migrations, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |