Menu

DB Error: no database selected

Help
Deejay
2004-08-10
2004-08-13
  • Deejay

    Deejay - 2004-08-10

    After deleting line about options ssl and autofree, I still have this message into the browser.

    How do I get it connected to the database "OpenIT", which is created into mysql and well configured into "inc/settings.php"

    Thanks

     
    • Michael Schurter

      Are you sure the database, username, and password are all setup correctly in both inc/settings.php and MySQL?  Remember they are all case sensitive.

      If you created a new MySQL user for OpenIT, did you give the new user full access to the OpenIT database?

      Did the SQL file import properly into MySQL?

      And if you've confirmed all of that, what version of Apache, PHP, & MySQL are you using?  Is it in Windows?

       
      • Deejay

        Deejay - 2004-08-13

        Well I'm pretty sure of having everything correct, since if I change the case in the database name into setting.php it will give me another error telling me that it cannot connect.

        For the rest, I give all access to the user and I double check that into the table directly.
        The installation was done as it was explained into the INSTALL file.

        Running on a RH7.3, the sql imported correctly into MySQL. Versions are:

        MySQL : 11.18 distro 3.23.58
        PHP: 4.1.2
        Appache: 1.3.27

        If you need more information, let me know..

        Thanks

         
    • Michael Schurter

      Both your MySQL & PHP are pretty old.  I've never run OpenIT on anything less than MySQL 4.0.x & PHP 4.2.x.  The production system I use it on is:
      Slackware-current (9.1+)
      MySQL 12.22 Distrib 4.0.18
      PHP 4.3.4

      I really don't know what could be going on, sorry!  Hopefully I'll have a new release of OpenIT soon with some added safety/compatibility checks.

       
    • Deejay

      Deejay - 2004-08-13

      Ok, I will upgrade then my setup. And let you know if this fix the problem.

      Thanks

       

Log in to post a comment.

MongoDB Logo MongoDB