I've noticed that this error comes from a function in mysqli_native_moodle_database.php called create_database()
As I don't want to make a new database, rather use an existing one, I'm going to try installing mysql on my pi2 and then continuing as if I am making a totally new and separate moodle. When it's completed I am going to go back into my configs and change them to share my database and data directory on my other server.
Re: Sharing database between 2 moodles error (Connection refused in /var/www/html/moodle/lib/dml/mysqli_native_moodle_database.php)
by Steve Richards -
Number of replies: 0