lonebyrd
Apr 21 2007, 02:01 AM
| | In a game I'm working on, I would like to have a database of actors/actresses. I'm not sure exactly how to do this. I'm pretty sure with the hosting here, I can only have 99 databases. I'm a little lost as to how to make it. Can all the actors/actresses be put on one database with the specific things I want to include (i.e. how well the do in each genre)? I'm new to Mysql and just need some help as to where to start. |
Reply
faulty.lee
Apr 21 2007, 11:59 AM
In actual fact, 99 databases is more than enough. You only need mostly 1 database per application, not per requirement of that application. What you need more is probably the number of tables. Current limit of the number of tables per database for MySQL, which according to some forum i searched, it is in the order of billion. I bet you won't need that much table anytime in the future. For your case, i think to store those actors/actresses, you probably only need 1 table. Maybe a few more you have you a lot of things to keep, and some of which is duplicate, so you can split them into multiple table. To have a good start, I'll recommend MySql Cookbook by O'Reilly. It's a good book to get you starting, cause it target more about application than theory. Of cause you'll need some theory book to learn if you don't have the basics. Let me know if you can't find the book, I have a digital copy with me, and if you're not against piracy. If you can find one, buy it, it's worth it. Good Luck
Reply
TavoxPeru
Apr 21 2007, 05:19 PM
QUOTE(lonebyrd @ Apr 20 2007, 09:01 PM)  In a game I'm working on, I would like to have a database of actors/actresses. I'm not sure exactly how to do this. I'm pretty sure with the hosting here, I can only have 99 databases. I'm a little lost as to how to make it. Can all the actors/actresses be put on one database with the specific things I want to include (i.e. how well the do in each genre)? I'm new to Mysql and just need some help as to where to start. Yes, all your actors/actresses can be pUt on only one database, also, in this database you can put other tables to store your categories, genres, etc. Bet regards,
Reply
yordan
Apr 21 2007, 10:26 PM
More probably, you need a single database for everything. And for each game, or for each set of games, you need a single table. Eache player has a record in that table. The rows in that table will probably be the player unique ID, the player name, the player level reached, and the code for the game situation (an internal code, like 18AK16 meaning "reached level 18 wich one Abakus, one Keyboard ans 16 lives remaining).
Reply
vhortex
Apr 22 2007, 04:27 PM
QUOTE(lonebyrd @ Apr 21 2007, 10:01 AM)  In a game I'm working on, I would like to have a database of actors/actresses. I'm not sure exactly how to do this. I'm pretty sure with the hosting here, I can only have 99 databases. I'm a little lost as to how to make it. Can all the actors/actresses be put on one database with the specific things I want to include (i.e. how well the do in each genre)? I'm new to Mysql and just need some help as to where to start. It will fit in one database. All the stats that you need can be put in one database table. Then one database table for the players.. You must plan accordingly ahead the data that you need to store, how long will you store them and how you will get the inputs and what dat must be stored from user inputs. First thing you must know is proper layouting of database columns since this will be the core of your program. ------ Then also decide how you link each data together.
Reply
TavoxPeru
Apr 27 2007, 02:38 AM
QUOTE(vhortex @ Apr 22 2007, 11:27 AM)  It will fit in one database.
All the stats that you need can be put in one database table. Then one database table for the players..
You must plan accordingly ahead the data that you need to store, how long will you store them and how you will get the inputs and what dat must be stored from user inputs.
First thing you must know is proper layouting of database columns since this will be the core of your program. ------
Then also decide how you link each data together. That's correct, you must do it prior to any other task, even you do it you will tune it up on the road, i suggest to start with a logical and a physical model of your database and then start to code your application. Best regards,
Reply
ethergeek
Apr 27 2007, 09:26 PM
Just an FYI point...if you use the default MySQL table type (MyISAM) you won't have support for foreign keys and won't be able to enforce referential integrity constraints, so make sure to set your table type to InnoDB. This can be a b1tch (I can't believe it censors that!) if you go through the hassle of normalizing your schema only to realize that your hard work had no effect on the query processor and you have no guarantee of the data being normalized, as the DBMS won't enforce RI constraints.
Reply
lonebyrd
Apr 28 2007, 02:30 AM
I was actually looking into getting a MySQL book, and was looking at the Cookbook by O'Reilly. I believe I've got some other programming books that are also O'Reilly. I'm glad to hear that someone is giving the thumbs up for that book. Now I think that will be the one I get.
Reply
TavoxPeru
Apr 29 2007, 11:14 AM
QUOTE(lonebyrd @ Apr 27 2007, 09:30 PM)  I was actually looking into getting a MySQL book, and was looking at the Cookbook by O'Reilly. I believe I've got some other programming books that are also O'Reilly. I'm glad to hear that someone is giving the thumbs up for that book. Now I think that will be the one I get. You can download free books for MySql from the Tutorials Downloads website, also you can find there a lot of different books related to databases, php, multimedia, os's, compilers, etc. I'm not pretty sure but i think that i view the Cookbook there. Best regards,
Reply
lonebyrd
Apr 29 2007, 06:58 PM
I looked into that site you mentioned, and you are correct. They did have the MySQL Cookbook there. Of course it's just my luck that it was a dead link. Some sort of error like 'Page not found'. But there does look like there could be some other stuff there I would like... If the pages work.
Reply
Latest Entries
TavoxPeru
May 4 2007, 06:32 AM
QUOTE(lonebyrd @ May 3 2007, 07:42 PM)  TavoxPeru, thanks for the link to the database. I will be looking into it more. And I agree with you unimatrix, about altering already existing scripts. I have done it a few times with PHP. It helps me in two ways. 1 by giving me a quick solution, and 2 helping me learn more about the PHP as I'm trying to alter it. I have been to hotscripts for other things, but I didn't think of looking up databases. You are welcome, and i agree too, i think that it is a good method for learning new things but sometimes there are more problems than solutions following this aproach. Best regards,
Reply
lonebyrd
May 4 2007, 12:42 AM
TavoxPeru, thanks for the link to the database. I will be looking into it more. And I agree with you unimatrix, about altering already existing scripts. I have done it a few times with PHP. It helps me in two ways. 1 by giving me a quick solution, and 2 helping me learn more about the PHP as I'm trying to alter it. I have been to hotscripts for other things, but I didn't think of looking up databases.
Reply
unimatrix
May 3 2007, 07:26 PM
While MySQL is the favorite, don't underestimate PostgreSQL. I like PostgreSQL for developing applications, but if I use ready made solutions, most of the time they are deployed on MySQL. I'd take a couple searches through Hotscripts.com and see what people have created and see if anything they have (purhaps for free) might work well for your purposes. It would save you a lot of time and effort of having to code from scratch. Anymore I find myself modifying what others have produced instead of starting for scratch. Given how many thousands of apps have been coded in php/MySQL these days...
Reply
TavoxPeru
May 3 2007, 10:49 AM
QUOTE(lonebyrd @ Apr 29 2007, 01:58 PM)  I looked into that site you mentioned, and you are correct. They did have the MySQL Cookbook there. Of course it's just my luck that it was a dead link. Some sort of error like 'Page not found'. But there does look like there could be some other stuff there I would like... If the pages work. Searching the MySql website i found a complete example of a database similar to the one you need, it's name is sakila and you can download it from here. Also, you can download more databases, examples and tutorials related to these examples by visiting the MySql Documentation page. Best regards,
Reply
Similar Topics
Keywords : make, large, databases,
- Center Update
Make the center of the page change only (5)
Is It Possible To Make Php Scripts Executed Without A Cron?
(2) Title says it all really. Just wondering if it's possible in an way? If so could anyone tell
me?....
Make Money Online With Cashcrate - A Scam?
(4) Nope, it's not a scam. I was surprised too, as most of these sites turn out to be scams.
CashCrate , however, actually pays, and at an extremely fast rate as well. Basically, at the site,
you complete listed offers and then the site will credit you with dollars. If you're wondering
about the speed of the crediting, the site does it as soon as the company listing the offer tells
them you've completed an offer. You'll also get an email letting you know you've
finished and that they've confirmed the offer. You can cash out once you've reached &....
Anyone Willing To Make A Text-based Game With Me?
for all interested view the idea first (4) Here we are. A few days ago while playing slavehack (my fav text-based game, which is currently
laggy and ddosed), i got an idea for a game based on similar principles. In this game, you are an
instrument player eg. a Bass player, a guitar player, a drummer, a singer etc. you can earn and
improve your skills by practicing. You have to choose your playing style(metal, rock, death metal,
trash metal, jazz etc. you can buy guitars, amps, pedals, processors etc. when you get good enough
you can form a band with other players. you can than make your gigs, where you earn cash,....
Get Paid To Search Yahoo!
New way for you to make money online (10) Hi buddies, Is this a good news for you? I've got paid for the first month from this site. Here
is how you can earn: After you sign up, they ask you to set their page as homepage and install a
search box.Everyday, when you search once, you will earn up to 3p. How much you can earn depends on
where you live. I earned 1.5p per search. So, if you search 40 times per day, how much you will earn
a month? It's very easy, right? In addition, when you refer friends, you will earn more. They
offer 4 referral levels: 50%, 10%, 5% and 2.5%. If you are interested, sign up a....
Make It Impossible To View Page Source
(11) Hi! I was just wondering if it is possible to make username unable to view the page source.. I
know that you can disable right click, but still, they can go to the page source from the navigation
menu on the top of the browser.. if possible, I would really like a code that works on all browsers.
Or if you know different codes that works on different browsers.. Thanks //Feelay....
How To: Make A Simple Php Forum System
(4) Hello, One of my first ever projects I embarked on when I began to understand PHP well was a forum
system. I've decided to begin writing a tutorial to help people start one of their own. The code
for this project is based on that of OakumBoard/cBoard, my own forum software which can be seen
running at www.sonicxtremegm.co.cc Anyways, time to start off, you must run this SQL query on an
SQL database with a name of your choice: CODE s CREATE TABLE `forums` (
`id` int(3) NOT NULL auto_increment, `name` varchar(80) NO....
Mmorpg
I want to make kids MMORPG (1) I have an idea for a kids game that has the potential to make go profit. I'm looking for
someone that knows how to code games and use flash to make games. The game will involve the user
making a character and traveling in the world we create or I create. It will have to be easy enough
that a 8 or 9 year old can use it. It will use educational games, traveling, harvesting, selling to
help the players make money; also will have a little fighting but not the gore kind a simple
fighting system. I can explain later once we decided to work together. If you want to wo....
How To Make Your Own Web Host
(2) QUOTE There are many reasons why you would want to have your website professionally hosted.
However, some people are better off hosting their site themselves. For example, if you are starting
a new business or playing with an idea that you are not sure will work, you might not want to pay a
hosting company to host your site, at first. Hosting the site yourself will allow you to save money
that you can use to grow your business. Once your business starts growing and your site starts
getting a lot of visitors, then you will find it necessary to pay a web hosting compa....
How To Make A Private Message System.
(9) Hey! Today, I am going to teach you how to make a Private Message (PM) script in PHP. Before
we start, I want to tell you what you should know, and what files we will create. Then we will
continue with the codes, and descriptions. I would like if you learned something from this tutorial.
If you find any errors (Even if I spell something wrong), I would like you to post it in this
thread. What you should know: You should know HTML. Just a bit (forms, and maybe a little design
if you would like that). You should know much about PHP and Mysql. You should know how ....
How To Make An Test-based Rpg Game!
This is a step by step tutorial of how to make a RPG test-based game (4) Welcome Hello this is Convictlife and i have made an RPG game and for you noobs out
there i will be explaining Here is a breif structure of this post: 1. Getting your codes. 2.
Getting your host. 3. Uploading your codes. 4. Configuring your codes. 5. MySQL 6. phpMyAdmin 7.
CronJobs 8. Editing 9. Finalizing Getting Your Codes! First of all you need codes that
will power your website. If you are a master coder (like Dabomstew) then you can code these codes
yourself, but if you are "so-so" then you will need to get codes from somewhere. I got....
How To Make A PM (Personal Message) System?
(Should I Store The Data In A Database?) (4) Hey! I just wanted to know, if I want to make a PM system, should I store the PMs in a database
or how should I do it? And if I should store them in a database, how do I do that. Because I have
acctually no idea, if I should create 50 tables to store 50 messages /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> (And a little OT question
). How can i change the timestamp into real date?....
Make A Wish And It'll Come True...if....
Common email chain letters (6) Do you ever come across email chain letters that say something like: QUOTE Now make a wish and
scroll down ((scrolls down about 15 seconds)) STOP!!! Send this to ## people and your
wish will come true in ## minutes/hours/days. Or things like this: QUOTE 13 ways to tell if
someone loves you ... (a list) ... Send this to 20 of your friends and you will get a date within
the next day! Well I am on the hunt for an EXTREMELY important chain letter that is of the
2nd variety. It was quite lengthy, and consisted of maybe 50-120 lines on tips to get....
Access
Is this easy to make a login/password? (17) I was looking to make a site where people need to create an account, and log in to view the main
pages. Is it easy, or do-able, to use msoft access to make a database where people are able to sign
up with a username and password via my website?....
Powerpoint Based Games!
I know how to make them! (18) Hi, have you ever heard of Tic Tac Toe/X's and O's on PowerPoint slides. I'm trying to
make one but is HTML. xxxx-jozh-xxxx....
Looking For Linux
2 choices that I will choose - make it easy to install and MAINTAIN (34) Ok I have tried Linux before, it was ok, until something with the kernel screwed up and it left me
with a command line interface that I didn't know what to do. I am looking for 2 different
distributions of Linux here, my first one is for: (Currently running Windows XP SP2) A computer
with 512 MB RAM Pentium 4 processor Internet Access GNOME or KDE desktop, doesn't matter Minimal
command line work!!! Absolutely no command line work when installing. I have tried
Ubuntu, it was easy enough. Anything easier than Ubuntu and I'll give it a try. M....
How To Make Windows Xp Faster
(30) hello does somwane have tips to let windows xp start up faster are there special programmas for or
somthing like thate thanks fore youre time....
A Beginner Wanting To Learn How To Make A Web Game
(4) I'm pretty new to html and stuf cuz i dont know it ut i want to make a game like Combatgrounds
which is located at http://www.combatgrounds.com . But i don't know where 2 start so can any1
give me any pointer. Your help will be appreacitaed Spelling and grammar are important, as stated
in our forum rules, but also part of your membership with AstaHost. Refrain from using slangs. "U"
"R" smarter than "2" does not mean TO... Topic title must be specific. Modified. Last verbal
warning. ....
Psybnc - Howto
How to make a psyBNC on Linux (4) Installation First, fetch the latest source code from http://www.psybnc.at QUOTE cd wget
http://www.psybnc.at/download/beta/psyBNC-2.3.2-7.tar.gz tar -zxvf psyBNC-2.3.2-7.tar.gz cd psybnc
Configuration QUOTE make menuconfig Now go in `Bouncer Config', next set Listening
Port and Ip. Next select `User' Here you will be able to create a user for your bouncer.
You must set Ident, Realname and Password, and vhost too. So return to main menu, and choose exit.
When prompted for saving select Yes. Launching psyBNC QUOTE make ./p....
How To Make Realistic Fire!
real fire in photoshop (13) Hello and welcome to my tutorial, I’m going to teach you how to make realistic
fire!!!! this is how I figured it out, I was makeing smoke in photoshop one day,
but i wanted color to be added to it, so I added some color balance to it and ""click"" it hit
me.... it looked alot like fire. --I would rate this tutorial easy and on a scale from 1 to 10 of
difficulty, I would say a 3 --this is how I did it. 1. first I started with a blank page.. duh
it doesn't mater what the size is but I used 400 X 400 pixels 2. Ok, we got our blank document
now w....
Real Driving
Does driving for real make you better at racing games? (17) Does driving for real make you better at racing games? And if so does it help to drive faster in
real life? What do you think? I think it helps, especially with simulation racers! It helps you
understand certain concepts better! Like two wheel drive vs four wheel drive. And camber on the
road, things like that! Im not saying drivers are better than non drivers but i think it gives
them an edge!....
How To Run A Proxy On a Web-Server?
How to make a proxy on website (20) Does anyone know how to set up a proxy on a website? I want to set up a proxy on my web space, that
i can access from anywhere, well mainly school since most websites are blocked at school. I know
there are a bunch of free ones, but i want my own so i can learn how it works and configure it. and
i want to be able to set up a global username and/or password to be able to use it....
Site To Create Your Own MMORPGs
(33) If You Ppl All Want To Make MMORPGS Just Go To http://www.touchofdeathproductions.com And Download
Eclipse!!!! God... They May Be 2D But Their Still MMORPGS.......
How To Make A CS 1.6 Map ?
(15) I just started playing CS .. err .. I wont comment but i started playing cause my class mates were
into it and i just needed some time out after a days work. And FPS games are my fav /wink.gif"
style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> .. Well getting back to the
point .. I have played on few maps like Mansion, dust, dust2, poolside, assault etc .. I was
wondering if i could make a map too ? ... 1) Does it include scripting or programming ? 2) Or what
are the best tools that are used ? 3) Is there a tutorial ? 4) Is there a good site ou....
Photoshop Tutorial: How To Make A Userbar For Signatures
(34) How to make a userbar by pyost Lately the userbars have become very popular with people. They
are mostly putting them in their forum signatures, which is very practical. They are small, but can
be used for linking. A lot of userbars can be found at www.userbars.com and www.userbars.org ,
but sometimes people can't find exactly what they want. This is why I have decided to make a
tutorial on how to make you own userbar. The pictures in this tutorial are made in Photoshop 6.0,
so don't be surprised if you're Photoshop is different. I will be making a....
Make Your Own FPS Game
(32) i happend to be searching the internet, as i usually am doing from 5-9 on a daily basis...and i came
accross this advertisement that sparked my intuitive imaginiation (wow big words...what do they mean
?) ne ways...heres what the ad said... First Person Shooters are one of the most enduringly
popular game genres. Now, for the first time, anyone can make their own action packed FPS games
without any programming or 3D modelling knowledge. Bringing a new benchmark to game creation, the
innovative and multi-featured FPS Creator has been three years in development and off....
Online Multiplayer Game
What language to learn in order make it? (16) If you look at e.g. THIS LINK What language would you use to make something like that?
/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /> ....
Conquer Online
free large MMORPG (10) Conquer Online is free large (large world and also large size - 1 full CD to download from official
site) MMORPG... It has nice graphics that is colorfull and philosphy taken from far east... I was
wondering if someone played it ever? Or steped by (stumbed) and resigned? You consider it good or
bad? Personaly I think this title may find it's fans, so I'm pointing it out.......
Enhanced Audio Cd's
Learn to Make Your Own Enhanced Audio CD (2) Some may be familiar with the concept of Enhanced Audio CD's. For those that aren't, an
Enhanced CD is much like a traditional Red-Book audio CD (the normal format for audio cd's -
what you would purchase in a store). The only difference is that, in addition to being able to put
your CD into a CD player and listen to music, you can also put the disc in a computer and access
more features such as graphics files, more songs, or even create custom navigatable menu's and
programs. All this enhances a consumers experience of your media. There is much to be....
How To Make A Text Based Online Game Script ?
(23) Does anyone know if there is a easy was to make a text base online game, Like a free templet, or if
anyone know how to make one and can help me.....
Looking for make, large, databases,
|
|
Searching Video's for make, large, databases,
|
advertisement
|
|