Hi
when checking if you can access your MySQL DB you need to be on the server on which ILIAS is running. Then issuing a command similar to:
> mysql -u userName -p -h addrToYourDBServer
if that works and you can connect into the DB, check if the client.ini.php in ilias/data/iliasClient has all values correctly set. It should look something like:
[db]
type = "innodb"
host = "addrToYourDBServer"
user = "userName”
pass = “********”
name = "NameOfDB”
structure_reload = "0"