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
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+8-3
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,9 @@ jobs:
6
6
strategy:
7
7
matrix:
8
8
go: [ 1.19, 1.18, 1.17, 1.16 ]
9
-
name: Tests Go ${{ matrix.go }}
10
-
runs-on: ubuntu-18.04
9
+
os: [ ubuntu-18.04, ubuntu-20.04 ]
10
+
name: Tests Go ${{ matrix.go }} # This name is used in main branch protection rules
11
+
runs-on: ${{ matrix.os }}
11
12
12
13
steps:
13
14
- name: Setup MySQL
@@ -17,7 +18,11 @@ jobs:
17
18
18
19
echo -e '[mysqld]\nserver-id=1\nlog-bin=mysql\nbinlog-format=row\ngtid-mode=ON\nenforce_gtid_consistency=ON\n' | sudo tee /etc/mysql/conf.d/replication.cnf
19
20
sudo service mysql start
20
-
sudo mysql -h 127.0.0.1 -uroot -proot -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password'; FLUSH PRIVILEGES;"
21
+
22
+
# apply this for mysql5 & mysql8 compatibility
23
+
sudo mysql -h 127.0.0.1 -uroot -proot -e "DROP USER IF EXISTS 'mysql.infoschema'@'localhost'; CREATE USER IF NOT EXISTS 'mysql.infoschema'@'localhost' IDENTIFIED BY ''; GRANT SELECT ON *.* TO 'mysql.infoschema'@'localhost';"
24
+
25
+
sudo mysql -h 127.0.0.1 -uroot -proot -e "use mysql; update user set authentication_string=null where User='root'; update user set plugin='mysql_native_password'; FLUSH PRIVILEGES;"
21
26
# create ssl/rsa files for mysql ssl support
22
27
sudo mysql_ssl_rsa_setup --uid=mysql
23
28
mysql -e "CREATE DATABASE IF NOT EXISTS test;" -uroot
Copy file name to clipboardExpand all lines: CHANGELOG.md
+33
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,36 @@
1
+
### Tag v1.7.0 (2023-01-31)
2
+
* Replication - just return an error not logging it. [#764](https://github.com/go-mysql-org/go-mysql/pull/764) ([atercattus](https://github.com/atercattus))
3
+
* Binlogsyncer: Format config in logs. [#763](https://github.com/go-mysql-org/go-mysql/pull/763) ([dveeden](https://github.com/dveeden))
4
+
* Allow to run tests in local environment + fix tests for it. [#762](https://github.com/go-mysql-org/go-mysql/pull/762) ([atercattus](https://github.com/atercattus))
5
+
* Mariadb: fix nil currGset for mariadb. [#760](https://github.com/go-mysql-org/go-mysql/pull/760) ([GMHDBJD](https://github.com/GMHDBJD))
6
+
* Adding replication protocol support to mysql server implementation. [#759](https://github.com/go-mysql-org/go-mysql/pull/759) ([Fizic](https://github.com/Fizic))
7
+
* Upgrade github.com/pingcap/parser to github.com/pingcap/tidb/parser. [#758](https://github.com/go-mysql-org/go-mysql/pull/758) ([axfor](https://github.com/axfor))
8
+
* Support "mysql_clear_password" auth plugin. [#757](https://github.com/go-mysql-org/go-mysql/pull/757) ([tirsen](https://github.com/tirsen))
9
+
* Handle fake rotate event as real if binlog filename changed. [#753](https://github.com/go-mysql-org/go-mysql/pull/753) ([gaojijun](https://github.com/gaojijun))
10
+
* Binlog_syncer: reduce the times of Clone of MySQLGTIDSet to speed up. [#746](https://github.com/go-mysql-org/go-mysql/pull/746) ([GMHDBJD](https://github.com/GMHDBJD))
11
+
* Support to check if a column is primary key. [#744](https://github.com/go-mysql-org/go-mysql/pull/744) ([fungaren](https://github.com/fungaren))
12
+
* Fix panic when logger or dialer is not set in canal config. [#743](https://github.com/go-mysql-org/go-mysql/pull/743) ([fungaren](https://github.com/fungaren))
13
+
* EventHandlerV2 support handle event with replication.EventHeader. [#740](https://github.com/go-mysql-org/go-mysql/pull/740) ([BLAZZ](https://github.com/BLAZZ))
14
+
* Speed up gtid process for mysql. [#738](https://github.com/go-mysql-org/go-mysql/pull/738) ([GMHDBJD](https://github.com/GMHDBJD))
* Make logger require an interface instead of a concrete implementation. [#732](https://github.com/go-mysql-org/go-mysql/pull/732) ([mcuelenaere](https://github.com/mcuelenaere))
18
+
* Packet: fix misusing of defer. [#729](https://github.com/go-mysql-org/go-mysql/pull/729) ([shizhx](https://github.com/shizhx))
19
+
* Fix: fix client field list. [#726](https://github.com/go-mysql-org/go-mysql/pull/726) ([black-06](https://github.com/black-06))
20
+
* Add go1.19 test matrix. [#725](https://github.com/go-mysql-org/go-mysql/pull/725) ([takumin](https://github.com/takumin))
21
+
* Removed use of deprecated ioutil. [#724](https://github.com/go-mysql-org/go-mysql/pull/724) ([skoef](https://github.com/skoef))
* Added SetTableCache method to set new schema for a table without load…. [#719](https://github.com/go-mysql-org/go-mysql/pull/719) ([sergan99](https://github.com/sergan99))
25
+
* Use background context when KILL last connection. [#718](https://github.com/go-mysql-org/go-mysql/pull/718) ([D3Hunter](https://github.com/D3Hunter))
* Use net.JoinHostPort to join host and port. [#715](https://github.com/go-mysql-org/go-mysql/pull/715) ([GMHDBJD](https://github.com/GMHDBJD))
29
+
* Optim: remove useless return value for mysql.util.RandomBuf. [#708](https://github.com/go-mysql-org/go-mysql/pull/708) ([LPX3F8](https://github.com/LPX3F8))
30
+
* Add support for custom dialer in canal and binlog syncer. [#707](https://github.com/go-mysql-org/go-mysql/pull/707) ([viciious](https://github.com/viciious))
31
+
* Fix initialization of TLS connections. [#706](https://github.com/go-mysql-org/go-mysql/pull/706) ([viciious](https://github.com/viciious))
32
+
* Use existing function for comparing auth data. [#704](https://github.com/go-mysql-org/go-mysql/pull/704) ([skoef](https://github.com/skoef))
* Improved the server example in README. [#696](https://github.com/go-mysql-org/go-mysql/pull/696) ([skoef](https://github.com/skoef))
0 commit comments