Comment 16 for bug 1735097

Revision history for this message
Noel McLoughlin (noelmcloughlin) wrote :

Actually I am wrong because I still have the issue even when HOST_IP and MYSQL_HOST have same value. The value 127.0.0.1 is hardcoded in ./lib/databases/mysql

    # Update the DB to give user '$DATABASE_USER'@'%' full control of the all databases:
    sudo mysql -uroot -p$DATABASE_PASSWORD -h127.0.0.1 -e "GRANT ALL PRIVILEGES ON *.* TO '$DATABASE_USER'@'%' identified by '$DATABASE_PASSWORD';"