Enable logging of all MySQL queries for debugging.
This commit is contained in:
parent
9255c861f7
commit
4b36ae2936
@ -21,6 +21,7 @@ install:
|
|||||||
# Create the database schema for shimmie.
|
# Create the database schema for shimmie.
|
||||||
- if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS shimmie;" -U postgres; fi
|
- if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS shimmie;" -U postgres; fi
|
||||||
- if [[ "$DB" == "pgsql" ]]; then psql -c "CREATE DATABASE shimmie;" -U postgres; fi
|
- if [[ "$DB" == "pgsql" ]]; then psql -c "CREATE DATABASE shimmie;" -U postgres; fi
|
||||||
|
- if [[ "$DB" == "mysql" ]]; then mysql -e "SET GLOBAL general_log = 'ON';" -uroot; fi
|
||||||
- if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE DATABASE shimmie;" -uroot; fi
|
- if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE DATABASE shimmie;" -uroot; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
@ -36,6 +37,7 @@ after_failure:
|
|||||||
- sudo cat data/config/shimmie.conf.php
|
- sudo cat data/config/shimmie.conf.php
|
||||||
- sudo cat data/config/extensions.conf.php
|
- sudo cat data/config/extensions.conf.php
|
||||||
- sudo cat /var/log/php5-fpm.log
|
- sudo cat /var/log/php5-fpm.log
|
||||||
|
- sudo cat -f /var/log/mysql/mysql.log
|
||||||
|
|
||||||
# configure notifications (email, IRC, campfire etc)
|
# configure notifications (email, IRC, campfire etc)
|
||||||
#notifications:
|
#notifications:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user