Menu

Database

Help
Anonymous
2001-08-24
2001-08-25
  • Anonymous

    Anonymous - 2001-08-24

    i have installed every thin on2 my server i have mysql & cgi-bin access, but wen ever i try to get on2 ne of the pages i get this msg:

    MySQL Query Failed : No Database Selected

    i do have database (on sql.inc page) set to phpwebhosting but i dont know wot the matter is.

    if u need to see my site it is:

    http://cgi-bin.spaceports.com/~urspace/

    Thanx

    Zash

     
    • Jason Wies

      Jason Wies - 2001-08-24

      Did you import all the SQL information from the sql/*.sql files?  You have to create the database and put information in it before you can use it.  Read through the INSTALL file, the other threads in this forum, ask your provider, or read the MySQL documentation.

       
      • Anonymous

        Anonymous - 2001-08-25

        i also have phpMyAdmin which works, although wen i try and create a database i get this msg:

        MySQL said:  Access denied for user: 'urspace@localhost' to database 'phpwebhosting'

        i dont have a clue why it says that coz all my details r typed in correcty?!?!

        Zash

         
        • Jason Wies

          Jason Wies - 2001-08-25

          Chances are you are only allowed to access one database, the one your hosting provider made for you.  Usually it shares it's name with your username.  So in sql.inc, change the database name to the one you use.

          Also, I just released a new version yesterday which is a lot easier to set up, and also has a new layout and lots of new features.

          https://sourceforge.net/project/showfiles.php?group_id=8677&release_id=49720

          Same thing applies to that one, just change the default database name to the one assigned to you.

          Jason Wies aka Zone

           

Log in to post a comment.