Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 18th, 2003, 05:06 PM
arfa arfa is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 8 arfa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
totally new to sql

greetings,

Yes, green as grass.

So, a database seems to be required.
I have contacted my server sys op (a charity situation so I don't like to push) and things are busy and it may take a while ... and so it goes.

Can I set up a database myself?
How?

Yes, I surf about looking for the idiots guide and am sure there is one - but where? I have some coding experience so am happy to read and fiddle but ... where to start?

many thanks in advance

arfa

Reply With Quote
  #2  
Old July 18th, 2003, 08:32 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 44 m 30 sec
Reputation Power: 8
What Operating system will you be using? Firebird and MySQL are two options worth considering since both can run on multiple platforms.

Reply With Quote
  #3  
Old July 18th, 2003, 09:42 PM
kfickert's Avatar
kfickert kfickert is offline
Capt'n
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2001
Posts: 553 kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 h 36 m 59 sec
Reputation Power: 9
This is just my $.02, but I would start with MySQL. Its pretty close to following standards and by far has the most support out there. Just look at the number of posts in the MySQL forum here verus that of all the other database forums.

Also, at my local Barnes & Noble, the number of MySQL books outnumber that of PostgreSQL by about 8 to 1. For learning purposes, MySQL is proably the best choice. Now it doesn't support all the functions of a true RDBMS, but its good enough if you want to learn the basics.
__________________
Why? Because Forms just look cooler in OS X...

Dutch, it's like German...but not!

Reply With Quote
  #4  
Old July 19th, 2003, 01:12 AM
arfa arfa is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 8 arfa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
system

Greets,

so, we are running Debian-linux (as best I know) - I have the thought that mysql is the way to go - but, as you know, I know little

I have done some reading.

Q: the app (a BB to start) has a .sql file. Can i presume that this will do the job? Do i just upload it onto my own server space? Or, does sys admin need to set anything?

I ask these questions (as opposed to just sticking it on and trying) as there can be a variety of things that prevent an app from working and it can save mega frustration by knowing - "oh, didn't you ***<> and change the / to a \
silly me not to have known that.

Maybe it is as simple as i would like to imaging ?
I would be delighted if you told me it was so.

I appreciate that actually 'building' a db is yet another matter.

thanks
arfa

Reply With Quote
  #5  
Old July 19th, 2003, 02:49 AM
substring substring is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 31 substring User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
Q: the app (a BB to start) has a .sql file. Can i presume that this will do the job?


I am assuming BB stands for bulletin board, and you are using one that you downloaded from somewhere, correct?

If so, the .sql file is a script that you need to run in your database environment to create database objects (i.e. tables, users, permission, etc etc).

MySQL is a great database. It depends on how complex your project is, keep in mind that MySQL does not support Stored Procedures.

Hope this helps.

Reply With Quote
  #6  
Old July 19th, 2003, 04:47 PM
arfa arfa is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 8 arfa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
jargon busting ...

greets,

Much of the newbie dilema is getting around the words so...

> BB stands for bulletin board
yes

>using one that you downloaded
yes

>the .sql file is a script that you need to run in your database environment
yes, but the words 'database environment' -----
where is this? What is this? Who made it? Can i make it/one?
sorry but I try reading online tutorials and the like but so much is assumed.

>to create database objects (i.e. tables, users, permission, etc etc).
I guess this is the fancy stuff? By this i infer that all I am really hoping to be is a user of others 'fancy stuff' - ie. free scripts etc. I hack about with js and and perl bits well enough but the db thing is all quite new.

>MySQL is a great database.
This is the impression i get and am keen to use useful things

>It depends on how complex your project is
Not so ambitious. site gets about 800 visits a day.

>Hope this helps
I am grateful for any replies -
thanks
1/2 a [tis my jargon handle for arfa - as in arfa mo, or arfa life is good enough until win OS meets god at cebit]

Reply With Quote
  #7  
Old July 19th, 2003, 10:40 PM
substring substring is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 31 substring User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
>the .sql file is a script that you need to run in your database environment


It depends on which database you are going to use....
-- MS SQL Server 2000, it will be the Query Analyzer that comes with it.
-- Oracle 8i or 9i, you have to purchase 3rd party tool. I use SQL Navigator and DBArtisan. Both of them are great and both of them provide GUI to run SQL scripts.
-- MySQL, you can download the Control Center 0.9.2 which is still in beta. But it provides GUI interface to manage all the database objects, and of course, it comes with a query window for you to create and run SQL scripts.

These are the only 3 databases that I use. IMHO, any other database besides these three are not worth your time.

Quote:
>>MySQL is a great database.
This is the impression i get and am keen to use useful things

>It depends on how complex your project is
Not so ambitious. site gets about 800 visits a day.


Both MS SQL Server and Oracle require license fees. Since it is for charity work and the project scope is small, you can simply use MySQL. Just download the latest production version (stay away from alpha or beta version because those are not yet stable) and then download the Control Center 0.9.2 beta (unfortunately, it is still in beta, but I find it quite stable, and you will need it). After installing everything, you can use the Control Center to create a new database for your project. Then open the SQL query window, copy and paste the content in the .sql file into the query window, click on the ! icon to run the script. If the scripts are written correctly and they are in the correct sequence (some database objects have to be created first before other objects can be created), you should not receive any error, and the database will be ready for use.

Hope this clarifies. If not, please ask again.

Reply With Quote
  #8  
Old July 20th, 2003, 04:47 AM
arfa arfa is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 8 arfa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
generous

greetings substring,

well, what a generous load of thinkings for me to digest.

I will download Control Center and see how that looks out of the box.

so, the sql file that comes with the free app needs a tweak? one click on the ! will do it? I live in hope and delight in surprises.

many thanks for giving your time to this.

1/2a

Reply With Quote
  #9  
Old July 21st, 2003, 09:51 AM
punkisdead's Avatar
punkisdead punkisdead is offline
Moron
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Michigan, USA
Posts: 170 punkisdead User rank is Private First Class (20 - 50 Reputation Level)punkisdead User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 10 h 31 m 37 sec
Reputation Power: 6
There is a really nice book out by Paul DuBois printed by SAMS Publishing for learning mysql. The price is a little steep at $50 but then again all computer books are pricy. So far I've been very impressed with it, and it covers other things also like PHP and Perl connections to the database. Good investment.

Reply With Quote
  #10  
Old July 21st, 2003, 10:03 AM
karsh44's Avatar
karsh44 karsh44 is offline
Just another guy
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2003
Location: Wisconsin
Posts: 2,915 karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 13 h 13 m 21 sec
Reputation Power: 76
I think this book is the book that punkisdead was referring to. Just posing this b/c as you can see, if you get it used (or even new) it's a $20 discount from buying at the bookstore, if the cost is a consideration for the charity (or you)
Just my quick input.
__________________
--Dave--

U2kgSG9jIExlZ2VyZSBTY2lzLCBOaW1pdW0gRXJ1ZGl0aW9uaXMgSGFiZXM=

Reply With Quote
  #11  
Old July 22nd, 2003, 09:46 AM
4dr14n's Avatar
4dr14n 4dr14n is offline
Huh?
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Scotland, UK
Posts: 223 4dr14n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 4 h 16 m 20 sec
Reputation Power: 6
Definately get the book!

i taught mself mysql using a combination of the book and the expertise of the wonderful people on this very forum!

I now have a database up and running and feel confident using most aspects of mysql. I prefer using the command line interface but the gui could prove to be a useful tool.
__________________
-----------------------------------------------------------
4dr14n

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > totally new to sql


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT