Installation of Moodle on Windows 2003 IIS server
Number of replies: 4web server IIS6
I have installed MySQL version 4.1.10 and PHP
However, while running install.php file in moodle, i keep on getting this error- "we could not connect to the database you specified . Please check database connection". I know this might appear too simple but since am a 'newbie' in this i dont have a clue how to proceed!. PLease help ASAP.
Extremely urgent !!!!
Re: Installation of Moodle on Windows 2003 IIS server
see http://dev.mysql.com/doc/mysql/en/old-client.html
so in the MYSQL root window type
SET PASSWORD FOR 'moodleuser' = OLD_PASSWORD('password');
Hopefully that will help and when you launch moodle admin pages it should create the tables nicely for you.
Re: Installation of Moodle on Windows 2003 IIS server
Hi Alan,
Thanks a lot for your reply the other day , your mail helped me tremendously . Infact Joe had a similar a problem and i pasted your reply .
Thanks again.
Re: Installation of Moodle on Windows 2003 IIS server
Hi Joe,
I had a similar problem , and this mail sent by Alan, helped me. Hope it solves your problem too.Have attacthed other replies i got too.
Regards
Reshma
firstly .. you need to create a database and database user
Log on the MYSQL shell as the MYSQL root users and type
create database moodle;
2.. Then create a mysql user and grant it rights over the database
GRANT ALL on moodle TO 'moodleuser' IDENTIFIED BY 'password' ;
3.. There is bug between MYSQL 4.1 and PHP 4.x ( at least on windows )
see http://dev.mysql.com/doc/mysql/en/old-client.html
so in the MYSQL root window type
SET PASSWORD FOR 'moodleuser' = OLD_PASSWORD('password');
Now when you launch moodle admin pages it should create the tables nicely for you.
Hope this helps
Re: Installation of Moodle on Windows 2003 IIS server
Thanks Alan and Reshma! Yours replies have just solved the crux of the problem. I followed your suggestions and eureka, problem solved!
Very Brilliant!
Thanks!