Menu

Will it work on IIS?

Help
2006-11-17
2013-04-24
  • Timothy Bryant

    Timothy Bryant - 2006-11-17

    I am trying to get it to run on a Win2K3 server, the database is there, I can connect, all SQL is ready (tables created etc.) edited the config.inc.php (do we need to rename it?)

    I hit index.php and get this "Error: Could not connect to the database. Please try again later."

    I can login to that database using the user I created through the MySQL Admin - Moodle is working fine, it's php and MySQL as well.

    Any ideas?

    Thanks,
    RushB

     
    • Luckyy13

      Luckyy13 - 2006-11-17

      I have it installed on windows server 2003 with no issues. i had one issue when i installed it and i posted it here. if i can remember right there is an install.php, did you run that? Error: Could not connect to the database. Please try again later." are your usernames and passwords correct in the config.php?

       
    • Timothy Bryant

      Timothy Bryant - 2006-11-21

      If there's an install.php, I can't find it. I imported the SQL that was there, my usernames and passwords are correct. No idea why it can't connect to the database. Like I said, Moodle is installed on this same Win2K3 server without a problem.

      Thanks,
      RushB

       
      • Luckyy13

        Luckyy13 - 2006-11-21

        does your user have access to database? what if you give your user SA or root access? Try to create a user like this user1 with schema prileges of < select, Insert, Update, Delete, Create,& Alter > this is how i have mine running

        let me know

         
    • stcloudpc

      stcloudpc - 2006-12-22

      I got mine working with some troubles.

      First change the dbname, username and etc in the config file to match your database.

      Here is where I had trouble doing the table creation script.

      The part where is inserts the admin data into the employee table.

      The timestamp "null" doesn't work.

      I used mysql admin and just did it by hand and it works now.

      Scott

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.