Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Not Understanding Mysql
Shane Sonnier
post Mar 10 2008, 10:15 PM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: [HOSTED]
Posts: 14
Joined: 10-March 08
Member No.: 29,017



Im not understanding MySql stuff can someone help me when u got to the MySql site and all that other stuff is this like a log of your web stuff or does it help u desigen your website just wanted to know what it does and how do u use this thing.
Go to the top of the page
 
+Quote Post
turbopowerdmaxst...
post Mar 11 2008, 12:30 PM
Post #2


Premium Member
Group Icon

Group: [HOSTED]
Posts: 391
Joined: 16-February 06
From: Kolkata, India
Member No.: 11,322



Consider this forum itself. In basic terms it could be understood as people writing topics and replying to them as posts. These topics and posts can be viewed by anyone connected to the web. For this, all these information need to be stored somewhere. If you are aware of HTML you could say that the posts are stored in HTML files which are then sent back to browsers so people can see them. An HTML page, however consists of markup tags along with text. All these buttons, labels, tables, etc will have to be duplicated in each of the pages created and for something as big as the Astahost, it would waste tons of Bytes.

So, what do you do? We could avoid repetition by storing the unique contents only, in our case, the content of the post, time of posting, name of the poster, etc. While files can be used for this storage, a database comprising of tables is a much better solution. This allows data to be stored in a unit which is much more logical, thus easy to add, retrieve, modify or delete. If you are aware of a Data Base Management System such as M$ SQL or Oracle, you are ready to go with MySQL. You would also need to have some knowledge of a server side scripting language that supports MySQL. At Astahost we use PHP (I am not aware of any other language either).

You can find an excellent tutorial for MySQL at http://www.tizag.com/mysqlTutorial/
Go to the top of the page
 
+Quote Post
Feelay
post Mar 12 2008, 03:56 PM
Post #3


Kinda N00B
Group Icon

Group: Members
Posts: 230
Joined: 13-January 08
From: Sweden
Member No.: 27,579



The thing that turbopowder... said is true.
MySQL is a "tool" or whatever you want to call it, that stores data.
MySQL stores the password for every user. The username for every user. MySQL is the tool that stores all the information about the users.
But of course.. you can use it for other stuff. Like storing forum posts and topics. In some cases, you can store pictures in it, but thats not anything I would recomend.
But as I said.. MySQL is a tool where you can store data in different tables.
Go to the top of the page
 
+Quote Post
Habble
post Mar 15 2008, 08:46 PM
Post #4


Premium Member
Group Icon

Group: [HOSTED]
Posts: 286
Joined: 17-June 07
From: Tasmania
Member No.: 22,699



Mysql is very very very hard to under stand lol i only got just got the hang on it not to long ago Lol i remember sitting there for days trying to find out how to do it and looking on google to find tuts etc but the way i sorta worked it out was sit there and just muck around on it you will work it out Lol i mean i can use Mysql but i wouldnt have a clue what it means i dont know that much about it
Go to the top of the page
 
+Quote Post
Doc.h0llyw00d
post Mar 22 2008, 03:45 AM
Post #5


Newbie [ Level 2 ]
Group Icon

Group: [HOSTED]
Posts: 18
Joined: 22-March 08
Member No.: 29,297



Shane,

MySQL is a SQL, in reality. SQL stands for Structured Query Language. My is My, that's obvious. So in essence you get My Structured Query Language. I know this is a bit obvious.

SQL is a powerful set tools that lets users (primarily, at a very basic level) create and manage RDBs (Relational Databases). What is a RDB? It's really a set of tables (columns and rows) that contain data. This data can range from user names, passwords, signatures, addresses (like it is used in conjunction with PHP to run these forums) to bank account numbers, asset information, records etc. The data stored in a table is dictated in the creation of the table (in a language like MySQL, PostgreSQL (linux/OpenSource), or T-/SQL (Microsoft), in this way SQL scripting resembles general programming in that data types are declared. There is also the possibility to create stored procs and functions in SQL to help manage and maintain data that has been entered. SQL also provides means of retrieving data (queries) that request information be sent from the database as specified in the query's code.

In reality, it is very unlikely that you will need SQL beyond the capabilities automated by AstaHost that run forums etc, unless you plan to manage your finance or research data in a database.

I have found that the wikipedia entries on RDBMS (Relational Database Management Systems), SQL (and its derivatives) as well as a lot of related information are well written and contain more links than I am going to recreate here to other helpful sites.

Hopefully this didn't get too technical for you, if you have any other questions regarding SQL or how to get started learning about it post back here and I'd be happy to help further.

Thanks,
Doc.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. MySQL - Trouble With Bulk Insert Statements(3)
  2. MySQL Realtime Replication(4)
  3. Recover Tables From A MySQL .frm File(8)
  4. Understanding Xhtml(8)
  5. Imho, You'll Be Rotfl!(12)
  6. Need Help With A PHP - MySQL Registration Script(13)
  7. [PHP + MySQL] Encrypting Data(11)
  8. MySQL Output Database Question(18)
  9. Important: Basics Of Using PHP And MySQL(10)
  10. MySQL, Multiple Tables(24)
  11. PHP & MySQL: Displaying Content From A Given ID(6)
  12. Navcat For MySQL(8)
  13. Qupis : Free Cpanel Web Hosting (one Line Text Ad At Bottom)(10)
  14. Php Tutorial: Making A Shoutbox(11)
  15. Login System Using A Mysql Db(5)
  1. Mysql With My Own Server(4)
  2. Mysql And User File_priv(0)
  3. Mysql Database Management(1)
  4. Mysql Database Entry By Excel Sheets(2)
  5. Can You Link Game Maker With Mysql/php(0)
  6. Mysql On Computer(9)
  7. How To: Display A Members/user List.(3)
  8. Any Website Provide Free Host Mysql Host?(4)
  9. Mysql Multiple Tables(1)
  10. Joomla Template Kit Extension For Nvu/composer(3)
  11. What You Need Before You Can Create A Text-based Game..(7)
  12. Crazy Guy Likes Super Mario And Zelda Too Much(1)
  13. Mysql Overhead(3)


 



- Lo-Fi Version Time is now: 11th October 2008 - 04:04 AM