Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kilpatty/craft-mysql
Mysql Automated Docker build customized for Craft CMS
https://github.com/kilpatty/craft-mysql
Last synced: about 1 month ago
JSON representation
Mysql Automated Docker build customized for Craft CMS
- Host: GitHub
- URL: https://github.com/kilpatty/craft-mysql
- Owner: kilpatty
- License: mit
- Created: 2016-01-29T21:09:03.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-01T21:26:10.000Z (almost 9 years ago)
- Last Synced: 2024-10-15T17:50:00.601Z (3 months ago)
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Docker Image Of MYSQL Database For Craft CMS
This is a Docker Image that pulls the latest mysql image, but makes some small changes to allow it to work with Craft CMS.##Usage
There is only one required environmental variable to run this docker image. To see more options, check the (Official MySQL Docker Image)[https://hub.docker.com/_/mysql/].$ docker run --name mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw skilgarriff/craft-mysql
##Notes
### Group By
We had to change the MYSQL 'Group by' settings due to Craft version 2.5 not working correctly with these settings with an updated Mysql version. When Craft Version 3 is released, then we can revert back these changes as it is no longer needed to change the mysql group by default. This change to the Mysql configuration is stored in Craft.cnf.
Issue Documented: [Here](https://craftcms.stackexchange.com/questions/12084/getting-this-sql-error-group-by-incompatible-with-sql-mode-only-full-group-by/12473)
## License
The code is available under the [MIT License](/LICENSE).