This repository was archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
cloud foundry #98
Copy link
Copy link
Closed
Description
hello to all
I have a problem when I try to bind laravel app to p-mysql service created, I get connection refused error and app deployment failed.
what I tried to do:
- use cf-laravel-example instead of my application still not working
- I can access service instance of p-mysql
- delete service and create, bind it again to the app.
I am using cf-release 231, cf-mysql-release 26
BINDING INFO
{
"VCAP_SERVICES": {
"p-mysql": [
{
"credentials": {
"hostname": "10.244.7.6",
"jdbcUrl": "jdbc:mysql://10.244.7.6:3306/cf_13b087f4_9531_4550_bd20_9eb7952b0d22?user=WFUTfD2qic1hrXII\u0026password=5YBedtOkQuqB24GV",
"name": "cf_13b087f4_9531_4550_bd20_9eb7952b0d22",
"password": "5YBedtOkQuqB24GV",
"port": 3306,
"uri": "mysql://WFUTfD2qic1hrXII:5YBedtOkQuqB24GV@10.244.7.6:3306/cf_13b087f4_9531_4550_bd20_9eb7952b0d22?reconnect=true",
"username": "WFUTfD2qic1hrXII"
},
"label": "p-mysql",
"name": "lagask",
"plan": "100mb",
"provider": null,
"syslog_drain_url": null,
"tags": [
"mysql"
]
}
]
}
}The Error am getting
Writing lock file
Generating autoload files
Generating optimized class loader
Compiling common classes
[PDOException]
SQLSTATE[HY000] [2002] Connection refused
Script php htdocs/artisan migrate --force handling the post-install-cmd event returned with an error
[RuntimeException]
Metadata
Metadata
Assignees
Labels
No labels