{"action":"closed","issue":{"url":"https://api.github.com/repos/Shippable/support/issues/1875","labels_url":"https://api.github.com/repos/Shippable/support/issues/1875/labels{/name}","comments_url":"https://api.github.com/repos/Shippable/support/issues/1875/comments","events_url":"https://api.github.com/repos/Shippable/support/issues/1875/events","html_url":"https://github.com/Shippable/support/issues/1875","id":106260039,"number":1875,"title":"How to add custom configs to MySQL","user":{"login":"164c","id":1281528,"avatar_url":"https://avatars.githubusercontent.com/u/1281528?v=3","gravatar_id":"","url":"https://api.github.com/users/164c","html_url":"https://github.com/164c","followers_url":"https://api.github.com/users/164c/followers","following_url":"https://api.github.com/users/164c/following{/other_user}","gists_url":"https://api.github.com/users/164c/gists{/gist_id}","starred_url":"https://api.github.com/users/164c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/164c/subscriptions","organizations_url":"https://api.github.com/users/164c/orgs","repos_url":"https://api.github.com/users/164c/repos","events_url":"https://api.github.com/users/164c/events{/privacy}","received_events_url":"https://api.github.com/users/164c/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shippable/support/labels/question","name":"question","color":"c7def8"},{"url":"https://api.github.com/repos/Shippable/support/labels/resolved","name":"resolved","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-14T02:28:47Z","updated_at":"2015-09-18T05:13:07Z","closed_at":"2015-09-18T05:13:07Z","body":"I'm trying to run rails spec with mysql. And I need to add some extra configurations to my.cnf to run my spec so I wrote it in shippable.yml as below.\r\n~~~\r\nbefore_script:\r\n  - cp config/ci/.my.cnf ~/.my.cnf\r\n  - sudo service mysql restart\r\n~~~\r\n\r\nconfig/ci/.my.cnf\r\n~~~\r\n[mysqld]\r\ncollation-server = utf8_general_ci\r\ninit-connect='SET NAMES utf8'\r\ncharacter-set-server = utf8\r\n\r\ninnodb_ft_min_token_size = 2\r\n~~~\r\n\r\nThe before_script looks done with no trouble but it doesn't take effect.\r\nI searched the docs and web but not able to find information about this.\r\n\r\nAny clues?\r\n"}}