You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Removed: support for lesser then php7
- Added: strong and string types
- Changed: ConfigFactory removed and method make form array moved to Config
- Changed: MariaDbGtidLogDTO replaced getSequenceNumber with getMariaDbGtid
- Fixed: Insert NULL in a boolean column returns no rows
- Fixed: float problem about time field type
- Fixed: column order
- Changed: getFields and getMasterStatus returns no VO
- Changed: Column to ColumnDTO and added ColumnDTOCollection
- Changed: replaced getFields with getColumnDTOCollection in TableMap
- Added: more compatibility for mysql 5.5, 5.6, 5.7, maria 10 and 8.0
- Removed: makeConfigFromArray
- "if [ $DB = 'mysql57' ]; then echo deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7 | sudo tee /etc/apt/sources.list.d/mysql.list; sudo apt-get update; sudo apt-get install mysql-server -y --allow-unauthenticated; fi"
27
-
- "if [ $DB = 'mysql56' ]; then echo deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.6 | sudo tee /etc/apt/sources.list.d/mysql.list; sudo apt-get update; sudo apt-get install mysql-server -y --allow-unauthenticated; fi"
28
-
- "if [ $DB = 'mariadb' ]; then sudo rm -rf /var/lib/mysql /etc/mysql; echo deb http://ftp.hosteurope.de/mirror/mariadb.org/repo/10.3/ubuntu trusty main | sudo tee /etc/apt/sources.list.d/mysql.list; sudo apt-get update; sudo apt-get install mariadb-server-10.3 -y --allow-unauthenticated; fi"
29
-
- "sudo mysql_upgrade --force"
30
-
31
-
# Config
32
-
- "echo '[mysqld]' | sudo tee /etc/mysql/conf.d/replication.cnf"
33
-
- "echo 'log-bin=mysql-bin' | sudo tee -a /etc/mysql/conf.d/replication.cnf"
34
-
- "echo 'server-id=1' | sudo tee -a /etc/mysql/conf.d/replication.cnf"
35
-
- "echo 'binlog-format= row' | sudo tee -a /etc/mysql/conf.d/replication.cnf"
36
-
- "echo 'max_allowed_packet= 64M' | sudo tee -a /etc/mysql/conf.d/replication.cnf"
37
-
- "echo 'innodb_log_file_size= 250M' | sudo tee -a /etc/mysql/conf.d/replication.cnf"
38
-
- "cat /etc/mysql/conf.d/replication.cnf"
39
-
40
-
# Enable GTID (only for mysql 5.*)
41
-
- "if [ $DB != 'mariadb' ]; then echo '[mysqld]' | sudo tee /etc/mysql/conf.d/gtid.cnf; echo 'gtid_mode=ON' | sudo tee -a /etc/mysql/conf.d/gtid.cnf; echo 'enforce_gtid_consistency' | sudo tee -a /etc/mysql/conf.d/gtid.cnf; echo 'binlog_format=ROW' | sudo tee -a /etc/mysql/conf.d/gtid.cnf; echo 'log_slave_updates' | sudo tee -a /etc/mysql/conf.d/gtid.cnf; cat /etc/mysql/conf.d/gtid.cnf; fi"
12
+
services:
13
+
- docker
14
+
15
+
matrix:
16
+
include:
17
+
- env:
18
+
- DB=mariadb:5.5
19
+
php: "7.1"
20
+
- env:
21
+
- DB=mysql:5.5
22
+
php: "7.1"
23
+
- env:
24
+
- DB=mysql:5.6
25
+
php: "7.1"
26
+
- env:
27
+
- DB=mysql:5.7
28
+
php: "7.1"
29
+
- env:
30
+
- DB=mysql:8.0
31
+
- TEST_AUTH=yes
32
+
php: "7.1"
33
+
- env:
34
+
- DB=mariadb:5.5
35
+
php: "7.2"
36
+
- env:
37
+
- DB=mysql:5.5
38
+
php: "7.2"
39
+
- env:
40
+
- DB=mysql:5.6
41
+
php: "7.2"
42
+
- env:
43
+
- DB=mysql:5.7
44
+
php: "7.2"
45
+
- env:
46
+
- DB=mysql:8.0
47
+
- TEST_AUTH=yes
48
+
php: "7.2"
42
49
43
-
# Start mysql (avoid errors to have logs)/var/lib/mysql
44
-
- "sudo /etc/init.d/mysql restart || true"
45
-
- "sudo tail -1000 /var/log/syslog"
46
-
47
-
- "mysql --version"
48
-
- "mysql -u root -e 'SELECT VERSION();'"
49
-
- "mysql -u root -e \"GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost';\""
50
-
- "mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root mysql"
51
-
52
-
- if [ $DB = 'mysql56' ]; then echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root; fi
53
-
- if [ $DB = 'mysql57' ]; then echo "USE mysql;\nUPDATE user SET authentication_string=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root; fi
54
-
- if [ $DB = 'mariadb' ]; then echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE User='root';\nFLUSH PRIVILEGES;\n" | mysql -u root; fi
0 commit comments