| | |
Creating MySQL database for a website
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2008
Posts: 7
Reputation:
Solved Threads: 0
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
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
•
•
Join Date: Aug 2008
Posts: 1,160
Reputation:
Solved Threads: 137
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
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
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
![]() |
Similar Threads
- Beginners Guide To Creating Database Driven Website (Site Layout and Usability)
- Apache (Linux Servers and Apache)
- store HTML is a text field in a table on a MySQL Database (MySQL)
- Need PHP/MYSQL database help (PHP)
- MSSQL - MySql Database Connectivity (MS SQL)
- Community Based Website Looking For PHP Assistant (PHP)
- Connecting to MySQL (MySQL)
Other Threads in the MySQL Forum
- Previous Thread: database backup
- Next Thread: Trigger help
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner gnu government gpl greenit groupware hiring hyperic images innerjoins insert ip joebrockmeier join keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft microsoftexchange mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opengovernment opensource oracle penelope priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization






