We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,259 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Database Schema with Users

Hello,

I am somewhat new to databases and just had a quick question on database structure when incorporating users.

When building the schema, does anybody have a best practice as whether to put users in a separate database apart from the content, or to put the users into the same database in a different table?

Thanks for any info you might be able to provide.

2
Contributors
1
Reply
8 Hours
Discussion Span
9 Months Ago
Last Updated
2
Views
jckb188
Newbie Poster
17 posts since Jun 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Hello,

Generally you put them in a different table in the same database but you do not have to. You can use a different database but you have to establish a connection to that database too. It is easier to connect to one database and make the table only readable for login.

rch1231
Veteran Poster
1,040 posts since Sep 2009
Reputation Points: 142
Solved Threads: 154
Skill Endorsements: 12

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0761 seconds using 2.71MB