Not Understanding Mysql

free web hosting
Free Web Hosting > Computers & Tech > Databases

Not Understanding Mysql

Shane Sonnier
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.

Reply

turbopowerdmaxsteel
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/

 

 

 


Reply

Feelay
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.

Reply

Habble
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

Reply

Doc.h0llyw00d
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.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : understanding, mysql

  1. What You Need Before You Can Create A Text-based Game..
    Using PHP, HTML and MySQL (5)
  2. Joomla Template Kit Extension For Nvu/composer
    help in understanding how to change html template to joomla (2)
    Hi Everyone, I am becoming quite (a lot) interested in designing with joomla, and need an
    understanding of how to use the template kit extension in Nvu/Composer. There doesn't appear to
    be any tutorials available on how to use a HTML template to insert and design with joomla modules.
    Is there anyone who could shed some light on this subject. It would be MUCH appreciated.....
  3. Mysql Multiple Tables
    (1)
    It is good practice to use multiple tables to sort out big amounts of data. But once you do that it
    becomes increasingly hard to cross reference the tables. Mysql has a little beautiful command
    structure that they have added. You can select multiple tables within one sql query. Example of a
    basic sql query CODE $sql = "SELECT * FROM table WHERE row=1"; If you noticed
    that I selected all of the rows in the table. Normally you will try to not select the entire table
    from the database unless you absolutely want all of the table. I would recommend against....
  4. Any Website Provide Free Host Mysql Host?
    (4)
    any website provide free host mysql host? i need it because i am using 000webhost.com now but it
    only provide 2 mysql database... can i know where or how can i get more databases regards....
  5. How To: Display A Members/user List.
    With PHP, Mysql, and HTML. (3)
    Alright, some of you might want to display your User's or Members on your site. Notes: 1.This
    is to fit in with Feelay's register and Log-in scripts you can find in the tutorial section. 2.I
    made this to show the members of my site who is a member and what their ID is. First off, we must
    set up a connection to our MySQL Database. CODE <?php $con =
    mysql_connect("localhost","database_username","database_username_password
    4;); if (!$con)   {   die('Could not connect: ' .
    mysql_error(....
  6. Mysql On Computer
    XD (9)
    I posted PHP on computer? , but for some reason it doesn't show :/. Anyways I am wondering if
    there is MYSQL on my computer, meaning can i make a data base on my computer? that way i make what i
    want and upload it when i get hosted =)....
  7. Can You Link Game Maker With Mysql/php
    Title says it :D (0)
    Hello, I am new to this service and i think I am going to like it =). Anyway, my main question is
    can you link executable games made by gamemaker (i have pro) to a database? And can i use the php
    server i get here to transfer data to that game? If so i would appreciate a little help with it
    because I am new to both =). Also is there anyway to get a www.mywebsite.com via credits from
    astahost? Finally is there any group here that works with gamemaker? we might have small contests
    or so /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /....
  8. Mysql Database Entry By Excel Sheets
    (2)
    Hello .. I would like to ask if i can use use Microsoft excel files in order to make entries to
    mysql database. Thanks....
  9. Mysql Database Management
    (1)
    Hi i am new, I have a problem in understanding the query decomposition in D-DB. Can anyone help me
    to understand the first question of the exercise 25.21 of Elmasri-Navath 4th edition? Consider the
    following relations: BOOKS (Book#, Primary_author, Topic, Total_stock, $price) BOOKSTORE
    (Store#, City, State, Zip, Inventory_value) STOCK (Store#, Book#, Qty) Consider a distributed
    database for a bookstore chain called National Books with 3 sites called EAST, MIDDLE, and WEST.
    Consider that BOOKS are fragmented by $price amounts into: B1:BOOK1:up to $20.....
  10. Mysql And User File_priv
    (0)
    HI, I've hit the grain while trying to import file to mysql database - I need to enable file
    permissions of the database user but this seems not possible with most of the hosting providers.
    The problem is to set file_priv of the database user to "Y" . This is done in the "user" table of
    the maintanance database named "mysql". cPanel doesn't allow this. Via the cPanel you can only
    allow privileges on table querries but you cannot grant host file privileges to the database user -
    which makes querries like: "LOAD DATA INFILE 'filename' INTO TABLE tablen....
  11. Mysql With My Own Server
    few questions (4)
    Hi, I've only just joined the forum Can you link the mysql database here to your own website?
    If so how would I go about it Thanks =D....
  12. Mysql Storage Engine Error 28
    (5)
    Hello, On my website and forum, SDeckNET, the mySQL database is not working. I get the error "mySQL
    error: Got error 28 from storage engine mySQL error code: Date: Wednesday 02nd 2008f July 2008
    05:33:53 AM" from my forum. From what I know, error 28 means I'm out of disk space, how can this
    be? I was never told of a mySQL space limitation and all these cases of downtime are destroying my
    site's memberbase. EDIT: It now seems PhpMyAdmin is down too, with the error: "Warning:
    session_write_close() : SQLite: session write query failed: database is full in /usr/l....
  13. Php And Mysql Extension Installation
    (0)
    /** * $Author: pgeric $ * $Revision: 8 $ * $Date: 2008-06-30
    19:40:52 +0800 (Mon, 30 Jun 2008) $ * $Id: php_mysql_install.txt 8 2008-06-30 11:40:52Z
    pgeric $ */ Installing newer version of php and enable mysql connection. (As of this writing
    will be targeted at php 5.2.5 and above) Because of a change on newer version of php. Some files
    have been moved around within the default folder structure of php package. The result was when try
    working with mysql. It surprise you a lot. (The dicussion on this was based-on zip....
  14. Mysql Persistant Connections?
    Are they allowed here? (2)
    Hello, I am considering starting to contribute to this community and get free hosting from them but
    the hosting im looking for needs one of two things... 1) Persistant MySQL Connections from PHP or
    2) A extreamly large amount of max_connections_per_hour set. If these are not offered would it be
    possible to get one of them with some extra points? Thanks, Rich....
  15. I Have An Error With My Mysql Connection
    mysql connection error (7)
    ok so here's my web page... http://lacrossems.t35.org/ it only lags cause its trying to
    connect to the my sql server...i followed this guide
    http://forum.ragezone.com/showthread.php?t=387249 and when i edit my config.php to my host and
    login info i always get the error cannot connect to the database here is my config.php if you can
    help me CODE <?php $host['naam'] =
    'CENSORED';                // my host $host['gebruikersnaam'] =
    'righto';       // my database username $host['wach....
  16. What Is My Mysql Url (connecting Through Java/jdbc)
    (4)
     I have been working on a java applet that requires access to a MySQL database. I have been
    receiving an error. When I run the file my applet tries to access the user’s database not my
    server's database! I was using the mysql:localhost/database... method just like in PHP but
    apparently localhost doesn't mean the same think in Java. Seems funny but I need to know the
    location (URL) to the MySQL databases on Astahost. I am on the Gamma server if that makes a
    difference. Thanks, Sparkx....
  17. Mysql - So Hard
    Come in here if you think MySQL is soo hard! (14)
    Doesn't anybody think MySQL is so hard to code? I mean think about it, you need loads of
    databases just for one little script and you have to type things in like ;Host-Username:
    (blahblah) ;Host-Password: (blahblah) ;Host-DatabaseName: (blahblah) Ok, that MySQL code was
    random, and it is alot harder than that. If you have expierenced it being hard, you are free to
    post right in here, mate.....
  18. Login System Using A Mysql Db
    How do i do this? (5)
    Hi guys, ive got a registration system that looks something like the one below: Firstname:
    Lastname: Then i have inset.php, which looks like the following: $con =
    mysql_connect("localhost","autobot","abc123"); if (!$con) { die('Could not connect:
    ' . mysql_error()); }mysql_select_db("my_db", $con);$sql="INSERT INTO person
    (username, password) VALUES ('$_POST ','$_POST ')";if
    (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record
    added";mysql_close....
  19. Qupis : Free Cpanel Web Hosting (one Line Text Ad At Bottom)
    150 MB space, 10000 MB Bandwidth, php, mysql, CPanel (10)
    Hello Members, We are proud to introduce a new member to Xisto group of sites.
    Qupis : Free Web Hosting 150 MB space, 5000 MB Bandwidth, php,
    mysql, CPanel (Latest). Emails, FTP, Addon domains, Parked Domains etc.
    http://www.Qupis.com
    Feel free to add your reviews and comments about it. -AstaHost
    Management ....
  20. Navcat For MySQL
    is Navcat any good? (8)
    Hello all, i ve recently come across NavCat (GUI tool) for MySQL. I have not bought a copy yet, just
    played around with the demo. Has any one used it beore, if so please let me know if its worth
    buying. I already have PhpMyadmin, Just wanna know if NavCat is better than PhpMyAdmin in usibility
    and functionality. Regards....
  21. PHP & MySQL: Displaying Content From A Given ID
    (6)
    Okay so I got this sample link (not working): http://www.acosta.com/joo.asp?id=654 Now suppose
    I have a PHP file that would use MySql in order to get all values in the row where id 654 is found.
    Here's a sample DB: Table: demnyc ______________________________________ | id |
    Name | Age | Email | *----------------------------------------------------* | 1
    | Albert | 17 | no email |
    *----------------------------------------------------* | 2 | YaPow | 888 |
    no email | |__________....
  22. MySQL, Multiple Tables
    (24)
    Ok, I'm coding a project which is a leap than what I'd normally do. Before, I've always
    learned ONE table... put EVERYTHING in one database table. I'm making a profile system so there
    needs to be at least two tables: 1 for users, 1 for content. My problem is, how do I link the two
    together? I could probably figure this out faster if someone explained and posted sample SQL code
    that shows how the two are linked together. Thanks!! F....
  23. CuteNews: PHP-based Blog System - No MySQL
    (10)
    I don't know if you guys have heard about CuteNews, but I think it's an awesome blogging
    system. If you don't know where to get it or how to set it up, here is a quick run-down.
    Download the zip file (virus free) from http://www.mysharebox.com/dl.php?key=8276639 . 1) Unzip
    the file. 2) Make a folder titled "cutenews". 3) Upload the contents of the cutenews folder into the
    one you've just created. 4) CHMOD the file index.php to 777. 5) CHMOD the folder "data" to 777.
    6) Then CHMOD all the files and folders inside of "data" to 777. 7) Go to http://YO....
  24. MySQL Output Database Question
    (18)
    I am new to MySql and have just created a database after using a script. My problem is not the
    script, but what it says about putting it into the output file. I cant figure out the right terms
    to put it in, I keep getting errors. I try using; SELECT*FROM 'database name' WHERE
    'location' but it isnt working. I'm lost with this stuff, I really am. Can someone
    please help me out?....
  25. [PHP + MySQL] Encrypting Data
    To protect the password of your DB, for example. (9)
    Hi! This is my 2nd code of PHP + MySQL. This code is VERY simple: it encript the data in the
    MySQL DB. Here we go! ------------------------------------------------------------------------
    CODE <?php $password = "abc"; $new_password = md5($password);
    echo $new_password; ?> The password "abc" was codfied using md5() This will be:
    900150983cd24fb0d6963f7d28e17f72 CODE <?php $normal_pass = "abc";
    $encripted_pass = "900150983cd24fb0d6963f7d28e17f72"; if(md5($norm....
  26. Need Help With A PHP - MySQL Registration Script
    Wont INSERT into the database (13)
    hey well can some one helpme make this code work it won't INSERT INTO THE DATABSE CODE
    <?php # register1.php # common include file to MySQL include("DB.PHP");
    $Username=$_POST['Username'];
    $Password=$_POST['Password'];
    $Name=$_POST['Name']; $Last=$_POST['Last'];
    $Sex=$_POST['Sex']; $Month=$_POST['Month'];
    $Day=$_POST['Day']; $Year=$_POST['Year&....
  27. Understanding Xhtml
    A practical introduction to XHTML (8)
    A lot have been said about the convenience of using XHTML instead of the well known HTML for the
    development of web pages and often it is not used since it is believed it’s too complicated to
    learn the new language and that it wouldn’t be worth the time and effort. It seems to me that the
    observation mentioned above is mistaken and I believe that it is worth to try to demonstrate that
    it is all the opposite , but not so much with the theoretical argumentation but rather with a
    practical approach covering diverse aspects of the process of developing web pages. Fir....
  28. Mirror My MySQL Database To Another Mysql Server
    (4)
    Hi..I want to ask if its possible to automatically mirror my mysql databases into another mysql
    server?or create a small php script to do this? The reason is because, we all know that database is
    very improtant if we have dynamic website. I have my forum hosted and i want to automatically
    mirror this or backup into another mysql server(free). Like in freesql.org. So that im not afraid
    that i forgot to backup my database..also i have one central backup database. Thanks for the
    help..Im looking forward for this posibility.....
  29. Recover Tables From A MySQL .frm File
    (8)
    I have a couple of .frm files with no corresponding data or index files. Is it possible to recover
    the table structure (field names, types, sizes, rows,col, etc) from these files? The table type is
    innodb....
  30. MySQL - Trouble With Bulk Insert Statements
    (3)
    I'm trying to insert about 500 rows into mysql, but I keep getting errors. If I copy and paste
    too many (about 50) insert statements at a time I get errors sometimes. I sometimes even get errors
    but then the row is skipped so I don't know there was an error (I'm using linux and SSH).
    What's the best way to get my insert statements to put the data in MySQL? Is there anyway that I
    can have it tell me if there where any errors all the statements are executed? Thanks for your
    help.....

    1. Looking for understanding, mysql

Searching Video's for understanding, mysql
Similar
What You
Need Before
You Can
Create A
Text-based
Game.. -
Using PHP,
HTML and
MySQL
Joomla
Template Kit
Extension
For
Nvu/composer
- help in
understandin
g how to
change html
template to
joomla
Mysql
Multiple
Tables
Any Website
Provide Free
Host Mysql
Host?
How To:
Display A
Members/user
List. - With
PHP, Mysql,
and HTML.
Mysql On
Computer -
XD
Can You Link
Game Maker
With
Mysql/php -
Title says
it :D
Mysql
Database
Entry By
Excel Sheets
Mysql
Database
Management
Mysql And
User
File_priv
Mysql With
My Own
Server - few
questions
Mysql
Storage
Engine Error
28
Php And
Mysql
Extension
Installation
Mysql
Persistant
Connections?
- Are they
allowed
here?
I Have An
Error With
My Mysql
Connection -
mysql
connection
error
What Is My
Mysql Url
(connecting
Through
Java/jdbc)
Mysql - So
Hard - Come
in here if
you think
MySQL is soo
hard!
Login System
Using A
Mysql Db -
How do i do
this?
Qupis : Free
Cpanel Web
Hosting (one
Line Text Ad
At Bottom) -
150 MB
space, 10000
MB
Bandwidth,
php, mysql,
CPanel
Navcat For
MySQL - is
Navcat any
good?
PHP &
MySQL:
Displaying
Content From
A Given ID
MySQL,
Multiple
Tables
CuteNews:
PHP-based
Blog System
- No MySQL
MySQL Output
Database
Question
[PHP +
MySQL]
Encrypting
Data - To
protect the
password of
your DB, for
example.
Need Help
With A PHP -
MySQL
Registration
Script -
Wont INSERT
into the
database
Understandin
g Xhtml - A
practical
introduction
to XHTML
Mirror My
MySQL
Database To
Another
Mysql Server
Recover
Tables From
A MySQL .frm
File
MySQL -
Trouble With
Bulk Insert
Statements
advertisement




Not Understanding Mysql



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE