Hi all,
I'm quite new to Moodle, and was looking for an Intranet-based eLearning solution for my company when I chanced upon this wonderful software. I am now trying to install it on my development server to play with it, and figure out how ot use it effectively in my company.
Ran into some problems with the installation, because for security reasons, my company does not allow us to use standard ports for our servers/database, so I'm using a port number like 3400 for my MySQL database, instead of the normal 3306.
The below screenshot what the Moodle installer spitted out when I tried to create the database. Notice that I've tried to add the port number to the host using the <IP>:<port> convention but that does not work as well. I've tried to check the code for creation of mysql connections (in lib/dml/mysql_native_moodle_database.php), and it seems like the code seems to assume standard port, and has no arguments for alternative ports, though the mysqli APIs can take in such a parameter?
Here's the details of my installation:-
PHP: 5.2.12
MySQL: 5.1.34
Apache: 2.2.14
Moodle: 2.0 Weekly (1 Dec 2010)
Anyone has any ideas how to fix this? Or is there a patch already? Thanks!