Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Should I Utilise DB in AppData Folder? 3

Status
Not open for further replies.

golcarlad

Programmer
Nov 23, 2004
232
GB
Just been looking at the AppData folder in my application, and noticed that all the Membership data and stuff gets stored in a SqlServer database - this basically makes my mySQL db irrelevant (esp concerning user info) - would it be better therefore to use this database for all my other applciation data rather than use a seperate db - or should this be used only for internal asp processes?
 
>>Generally, a database is used in the App_Data folder for test purposes

why? All data files are just MDFs and LDFs. Going by that definition there should be noe issue...

Known is handfull, Unknown is worldfull
 
It's an issue if your production environment runs on MySQL ;^)

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
Not NULL-terminated yet.
 
point!

i did not even notice that. when the poster stated both DBs in the post assumed that there was support for both... :D

Known is handfull, Unknown is worldfull
 
The discussion whether you should store the default MSSQL 2005 Express Membership database in the App_Data folder or somewhere else is not really an answer to the question. The question was 'if all the data should be tranfered to this database or not?'

The answer is NO, you can also build your own custom membership provider so that you can store all membership data into another database, for example a MySQL database:


An example how to use a MySQL database can be found at:

 
Nice one Hans - that sounds more like it - I just thought there should be a way to utilise this info than me having to replicate all the functionality/schema in my own DB.

Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top