All you have to do is:
modify your web.config to indicate the connection you would like
<add name="DefaultConnection" connectionString="uid=****;pwd=*****;server=(local);database=****" providerName="System.Data.SqlClient" />
Check Filters \ InitializeSimpleMembershipAttribute.cs
Line 41 should read:
WebSecurity.InitializeDatabaseConnection("DefaultConnection", "UserProfile", "UserId", "UserName", autoCreateTables: true);
Note that the autoCreateTables parameter is set to true and the name of the connection established in the web.config file is specified.
Now, when the user registers, he will search for the database that you have configured. If tables have not yet been created, they will be created.
jnoreiga
source share