Does club-add.sql set up both databases?

Last post 10-27-2009 8:41 AM by kuttikrishnankodoth. 2 replies.

Sort Posts:

  • Does club-add.sql set up both databases?

    05-22-2009, 1:59 PM
    • Member
      15 point Member
    • redwoodbev
    • Member since 09-24-2008, 5:37 PM
    • Posts 88

    Hi,  I'm trying to set up the clubsite on godaddy and following the excellent GoDaddy Installation Walkthrough on this forum.  I'm confused about the databases.  In my clubsite there are two databases under App_Data.  One is ASPNETDB.mdf and one is Club.mdf.  There is one club-add.sql file.

    As I understand the instructions...I should create my databases in GoDaddy, then copy the club-add.sql and paste the text in the Query Analyzer and submit.  This will create the tables, etc. for the database.

    Do I do this just once into one database, or once into each database, or is there another file I should be copying and pasting for the second database?  Also, must I do this first, before uploading my site to the host?  Thanks.

  • Re: Does club-add.sql set up both databases?

    08-27-2009, 4:31 AM

    redwoodbev:

    Hi,  I'm trying to set up the clubsite on godaddy and following the excellent GoDaddy Installation Walkthrough on this forum.  I'm confused about the databases.  In my clubsite there are two databases under App_Data.  One is ASPNETDB.mdf and one is Club.mdf.  There is one club-add.sql file.

    As I understand the instructions...I should create my databases in GoDaddy, then copy the club-add.sql and paste the text in the Query Analyzer and submit.  This will create the tables, etc. for the database.

    Do I do this just once into one database, or once into each database, or is there another file I should be copying and pasting for the second database?  Also, must I do this first, before uploading my site to the host?  Thanks.

     

    one database would be sufficient . use aspnet_reqsql and copy all the tables and sps to the existing database

     

    Jai Ganesh. J , GSD ,India

    Please Mark As Answer If my reply helped you.
  • Re: Does club-add.sql set up both databases?

    10-27-2009, 8:41 AM

    hai

     the ASPNETDB you found under the app_data folder is used for the authentication and authorization purpose of the users in ur site

     you just dont do any thing in the aspnetdb it is automatically created when the website administration tool is used .

    you just do in the club database only , you can run the file before or after hosting its not a problem , if you use aspnet_regsql .exe tool to copy the schema of the aspnetdb to the newly created database  there is no need to host both the db's one is enough and change the connection string in machine.config file to your applications web.config file then every thing will be  ok  

    Think #
Page 1 of 1 (3 items)