main.mysql_upgrade fails on 11.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Aleksandr Kuzminsky |
Bug Description
main.mysql_upgrade [ fail ]
Test ended at 2010-06-01 02:33:25
CURRENT_TEST: main.mysql_upgrade
--- /home/buildbot/
+++ /home/buildbot/
@@ -94,7 +94,7 @@
mysql.user OK
DROP USER mysqltest1@'%';
Run mysql_upgrade with a non existing server socket
-mysqlcheck: Got error: 2005: Unknown MySQL server host 'not_existing_host' (errno) when trying to connect
+mysqlcheck: Got error: 2003: Can't connect to MySQL server on 'not_existing_host' (errno) when trying to connect
FATAL ERROR: Upgrade failed
set GLOBAL sql_mode=
mtr.global_
mysqltest: Result content mismatch
Related branches
- Yasufumi Kinoshita (community): Needs Information
-
Diff: 40 lines (+33/-0)1 file modifiedmysql-test.diff (+33/-0)
Changed in percona-server: | |
milestone: | none → 5.1-11.0 |
assignee: | nobody → Aleksandr Kuzminsky (akuzminsky) |
Changed in percona-server: | |
status: | New → In Progress |
The problem goes down to wrong DNS configuration.
MySQL client tries to connect to non-existing hostname 'invalid_hostname'. It expects to
get error 2005, which means 'invalid_hostname' can't get resolved. But if it is resolved
MySQL gets error 2003 (Can't connect to MySQL server).
Check
$ host invalid_hostname
If the request is resolved - it is bad.