Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
Thread Tools
  #1  
Old 05-27-2009, 07:50 AM
Private First Class
 
Join Date: May 2009
Posts: 8
Default mySQL what is that???

I am sorry. I've read all postings and still don't understand anything about mySQL.
Is it necessary to create a database to have a website running?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 05-27-2009, 12:07 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: mySQL what is that???

No, it is not necessary to create a Database unless you want a dynamic website where users can interact with the site (like in shopping carts, blogs, forums, member's areas etc). And, again, the above, in their simplest form, can be acheived without a real database, but using flat files to store the info / data. However, when things start getting serious with the above cases, then a Database driven script becomes necessary as flat files have lots of limitations.

SQL stands for Structured Query Language. Actually it is the programming language used to store data in the database and then manage it (edit, delete, view, query). MySQL is a particular SQL (there are many others).
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 05-27-2009, 08:17 PM
Private First Class
 
Join Date: May 2009
Posts: 8
Default Re: mySQL what is that???

Thanks. Where can I learn more about SQL, what it is for, etc?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 06-14-2009, 06:44 AM
coffee4uandme's Avatar
Second Lieutenant
 
Join Date: Jul 2007
Location: Florida
Posts: 121
Default Re: mySQL what is that???

Hi prtgm,

I use this site for a lot of learning

http://www.w3schools.com/sql/default.asp

I hope this helps

Randall
__________________
www.PerksNBeans.com
"The Best Coffee House In Town"

www.TheTeaLocker.com

www.BrownBeanMachines.com
"Commercial Espresso & Coffee Machines"

Gourmet Coffee Dropshipping & Wholesale Buying
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 07-31-2009, 09:43 AM
jimchicago's Avatar
Captain
 
Join Date: Aug 2006
Location: Chicago suburbs
Posts: 244
Default Re: mySQL what is that???

I'm starting to try to learn how to set up and use databases for my web sites. I've watched the BV tutorials about creating databases, creating users, and linking users to whichever database we want them to be able to access. Following the instructions, I was able to do all three of these steps.

My question (probably very obvious, sorry) is, once I've created the database, user(s) of it, and linked them to it, what kind of interface would those users see on my site when they want to log in and extract, add, delete, or modify the data in the database? I'm sure this is all probably well explained somewhere, I just don't know where. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 07-31-2009, 09:56 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: mySQL what is that???

Users created for the database don't see ANY interface. Creating a user (usernme and password) means only that IF you have a script that in some way accesses the database, then these username / password will allow the script to connect to the database.

The script itself is the one that should create the Interface (unless you want to use phpMyAdmin, which is a standard Database management Interface, freely available through your CPanel)

Usualy, to allow access to third people to your Database, the Database interface must be custom created for specific tables in your Database. And the users should also have their own Login details (independent from the database username / password) to allow them access to the Interface.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 07-31-2009, 09:16 PM
jimchicago's Avatar
Captain
 
Join Date: Aug 2006
Location: Chicago suburbs
Posts: 244
Question Re: mySQL what is that???

Thanks, Naval, for explaining, but I'm not sure I understand what you mean by "these username / password will allow the script to connect to the database."

As a newbie to all this, I'd probably use phpMyAdmin as the database interface. Can you direct me to a site that uses it, so I can get a sense of the functionality it offers?

Also, what are the most common reasons for having a database in a web site? For example, if my site is selling products (either physical or electronic), or offers content available to members only, I assume the database would be there to allow the customer or member to log in, see/update their account info, review past purchases or downloads, or inquire about the status of a shipment. Am I on the right track here? Please advise, thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 07-31-2009, 09:42 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: mySQL what is that???

phpMyAdmin is available to you through your Cpanel.

phpMyAdmin is NOT available to site visitors / users, only to the site owner that has the necessary login details to enter Cpanel.

The username and password that you created for the Database, are NOT directly used by you or your visitors. They are used by those programs / script that need to access your database.

Yes, you are right about the uses of a database: login / membership scripts, carts, booking systems, photo galleries, mailng systems, and almost whatever needs storage of information on the server.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 06:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203