dev-db/mysql-gui-tools brings in mysql as a dependency, although mysql should not be required to use the gui tools. This is also true for the individual ebuilds as well for mysql-administrator and mysql-query-browser. Reproducible: Always
And did you try to compile it without mysql installed? How far did it get? :)
Yes, I did check and it works fine without mysql installed. I copied the mysql-gui-tools-5.0_p13 ebuild to my overlay and deleted the '>=virtual/mysql-5.0' rdepend. Everything compiled fine, and I was able to run and connect and view tables on a remote mysql db using mysql-administrator and mysql-query-browser. Mysql-workbench launches and looks like it works, but I have never used it before, so I can't say much more than, 'it appears to work for me.' NOTE: I did have mysql-5.0.42 installed on my machine before I test this, so I did an emerge -C mysql-5.0.42. I guess it's possible that the ebuild left behind some files that may have been needed to build mysql-gui-tools, but I doubt it. I'll leave it up to you whether you want to reopen this bug and fix it. ;)
Sorry, there's nothing to fix here. It's plain impossible to compile/run this without mysql client libraries installed. checking for mysql_config... no checking for mysql_config... no configure: error: Could not find mysql_config script. Make sure the mysql client libraries are installed
sorry about that. I guess the mysql ebuild doesn't remove everything when you unmerge it. Looks like it requires mysql_config.
I suspect you unmerged virtual/mysql and not the real thing (dev-db/mysql).
*** Bug 209808 has been marked as a duplicate of this bug. ***
Perhaps mysql client libraries should go in a separate ebuild and I think the same is true for the server part and the cli part.
You already have this with USE=minimal, stick to to package.keywords for mysql (not to make.conf!)