943,975 Members | Top Members by Rank

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 996
  • MySQL RSS
Sep 10th, 2008
0

Creating MySQL database for a website

Expand Post »
Hello all,

I have a fairly good grasp on how to design a database (took a couple courses on it) but I'm not sure how to set up a database for use with a website. My plan is to develop the website with ASP.NET and MySQL. The website will have multiple users logged in at once altering the database.

Some questions I have are:

1) How would you configure the MySQL database for use with many users at once.

2) How do you connect the users to the database when they first get to the website? If you use a connection string in the code, wouldn't people be able to get access to the code and find out the name and password for the database, or is the code hidden before deployment of the website?

If you guys could give me any feedback/links about my questions I would greatly appreciate it. Thanks,

Brian
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bdicasa is offline Offline
7 posts
since Sep 2008
Sep 10th, 2008
0

Re: Creating MySQL database for a website

1. The database is already built for transactional processing to handle multiple users. You will most likely have a single 'user account' that you will use to communicate with the database.

2. There are a couple of ways to do this. Normally you can put the connection string in the web.config and encrypt it. Also remember the pages are compiled, so they won't have direct access to your .net code.

Here's a link on how to do it.
http://aspnet.4guysfromrolla.com/articles/021506-1.aspx
Reputation Points: 133
Solved Threads: 141
Veteran Poster
dickersonka is offline Offline
1,162 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MySQL Forum Timeline: database backup
Next Thread in MySQL Forum Timeline: Trigger help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC