travis updates

This commit is contained in:
John
2019-03-03 00:31:16 +08:00
parent b01777fcd1
commit 1ad076c522
2 changed files with 2 additions and 3 deletions

View File

@ -16,8 +16,7 @@ services:
- mysql
before_install:
- mysql -e "use mysql; update user set authentication_string=PASSWORD('12345678') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- service mysql restart
- pwd
install:
- pwd

View File

@ -17,7 +17,7 @@ func init() {
Host: "127.0.0.1",
Port: "3306",
User: "root",
Pass: "12345678",
Pass: "",
Name: "",
Type: "mysql",
Role: "master",