ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


MySQL Not found on Installation


  • 2005-12-28 16:54:11

    MySQL Not found on Installation

    I'm currently doing my first ATutor installation and I have run into a roadblock. When I get to the requirements page, it tells me that "MySQL 3.23.0+ or 4.0.16+ Not Found." My server is up and running at localhost, but it just doesn't seem to recognize it.

    I am currently running:
    Operating System : Windows XP PRO
    Version of ATutor: 1.5.2
    Version of PHP: 5.1.1
    Version of MySQL: 5.0.17
    Webserver: IIS 5.1

    Error message received on requirements screen:
    "MySQL 3.23.0+ or 4.0.16+ Not Found"

    Any help is appreciated

  • 2005-12-29 09:02:39

    Re: MySQL Not found on Installation

    Make sure MySQL is running.

    Send us a copy of a phpinfo page for your server.

  • 2005-12-29 09:47:52

    Re: MySQL Not found on Installation

    MySQL is up and running, but it appears that ATutor isn't finding it.

    I'm not sure what you mean by phpinfo file. I've included the php.ini (Let me know if I need to look for something else).

  • 2005-12-29 10:31:53

    Re: MySQL Not found on Installation

    If you are using something other than the default, you may need to explicitely define the mysql socket in php.ini. Something like:

    mysql.default_socket = /var/run/mysqld/mysqld.sock


    Create file with the following lines in it, then open the file in your browser to generate a phpinfo page:

    [php]
    phpinfo();
    [/php]

    The mysqld.sock, and other config options, will be listed in the phpinfo.

  • 2005-12-29 10:44:20

    Not IIS 5

    A word of advice, upgrade to IIS 6+ or use Apache as your Webserver. You will almost certainly experience other problems running ATutor with IIS 5.

  • 2005-12-29 10:48:49

    Re: MySQL Not found on Installation

    Ok, here's a copy of my phpinfo.

  • 2005-12-29 10:57:07

    Re: MySQL Not found on Installation

    Your php installation does not have mysql support compiled. You will need to reinstall php and include the --with-mysql switch.

  • 2005-12-29 18:10:51

    Re: MySQL Not found on Installation

    That appears to have fixed the problem. Thanks!