Hide Forgot
Description of problem: I wrote a quick ruby script to populate a table in mysql, and I've deployed it into a Ruby 1.9 app with no other framework in place. The intent was simply to push it to the app and then SSH in and run the script by hand. When I pushed it to the app and tried to run the script using a standard `mysql` command, it couldn't connect to the DB. After some investigation, I found that the socket file listed in $OPENSHIFT_MYSQL_DB_SOCKET had never been created. Interestingly, after running `ctl_all restart`, the socket file magically appeared and everything worked. This seems to happen every time I `git push` from my local repo to the app. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Socket file referenced by $OPENSHIFT_MYSQL_DB_SOCKET is not created Expected results: Socket file should be recreated after every git push Additional info: You can see this behavior on OpenShift Online with my app: dbtest-emichron.rhcloud.com You will need to log into the app to look around; ping me when you are ready to investigate.
Please reopen with additional details if this can be reproduced. Cartridge worked as expected using https://github.com/nhr/dbtest