Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Added MySQL 5.7.8-rc-1 and tuned test.sh #83

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Added MySQL 5.7.8-rc-1 and tuned test.sh #83

wants to merge 8 commits into from

Conversation

libcrack
Copy link

  • Added MySQL 5.7.8-rc-1 from repo.mysql.com
  • Refactorized test.sh by implementing mysql_docker_test_release

local minor="7"

[[ -z "$major" ]] || major="$1"
[[ -z "$minor" ]] || major="$2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be [[ -z "$minor" ]] || minor="$2"

Also, test fails:

=> Testing if mysql is running on 5.7
4c30d70929a39887807650e51bd759b5a69807fea87d8e32bb6738b6e8921837
mysqladmin: connect to server at '127.0.0.1' failed
error: 'Host '172.17.42.1' is not allowed to connect to this MySQL server'
0

@libcrack
Copy link
Author

It looks that's a v5.7 known issue as can be seen here:
docker-library/mysql#69
Here a workaround is presented:
https://github.com/mysql/mysql-docker/blob/mysql-server/5.7/docker-entrypoint.sh

Do you want me to implement that stuff or maybe the v5.7 release it's already on your roadmap?

@tifayuki
Copy link
Contributor

No, we don't have a schedule to make images for mysql 5.7 yet. So, please feel free to implement it :)

Also, I tried to run the test locally, on 5.7. It fails at replication:

mysql -uuser -ptest -h127.0.0.1 -P14522 -e "show slave status\G"
*************************** 1. row ***************************
               Slave_IO_State: 
                  Master_Host: 172.17.0.35
                  Master_User: repl
                  Master_Port: 3306
                Connect_Retry: 30
              Master_Log_File: 
          Read_Master_Log_Pos: 4
               Relay_Log_File: d53760f2976f-relay-bin.000001
                Relay_Log_Pos: 4
        Relay_Master_Log_File: 
             Slave_IO_Running: No
            Slave_SQL_Running: Yes
              Replicate_Do_DB: 

The Slave_IO_Running is NO.
Does it have anything to do with bug on 5.7?

@libcrack
Copy link
Author

Could be related, I'll take a look as soon as possible :-)

@cayter
Copy link

cayter commented May 4, 2016

Is this still being worked on?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants