Menu

MYSQL Errors ? New to MySql How would i fix t

Help
Anonymous
2001-05-14
2001-05-14
  • Anonymous

    Anonymous - 2001-05-14

    I keep recieving the following error when trying to open any of the .php files.

    MySQL Query Failed : Table 'phpwebhosting.settings' doesn't exist

    Have i missed something? I created the phpwebhosting table.

    I just dont get the error. Proberly just a newbie mistake. Appreciate any help.
    Wazza

     
    • Jason Wies

      Jason Wies - 2001-05-14

      From the INSTALL file:

      Edit sql/user.sql and sql/values.sql and change the password ('hardtoguess' by default)
      mysql -uroot -p < sql/user.sql (optional: requires root MySQL access)
      mysql -uuser -p < sql/tables.sql
      mysql -uuser -p < sql/values.sql

      tables.sql creates the database and all of the tables.  If for some reason the settings table didn't get created, just run mysql ('mysql -uuser -p phpwebhosting'), and paste in the last line from tables.sql.

      Jason aka Zone

       

Log in to post a comment.