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. |
Comment/Reply (w/o sign-up)
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
Comment/Reply (w/o sign-up)
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,
Comment/Reply (w/o sign-up)
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).
Comment/Reply (w/o sign-up)
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.
Comment/Reply (w/o sign-up)
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,
Comment/Reply (w/o sign-up)
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.
Comment/Reply (w/o sign-up)
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.
Comment/Reply (w/o sign-up)
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,
Comment/Reply (w/o sign-up)
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.
Comment/Reply (w/o sign-up)
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,
Comment/Reply (w/o sign-up)
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.
Comment/Reply (w/o sign-up)
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...
Comment/Reply (w/o sign-up)
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,
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : make, large, databases,
- Databases
(2)
Free Graphical Tools For Databases
(7) There are a lot of different free software in Internet, but I have found only couple of free
graphical tools for database adminiatration. On another hand, MySQL is free for non commercial
usage. That's way it will be nice to have any good free GUI for this database. I remember the
time, when one of MySQL-Front versions was for free, but now it is opened only for testing period.
There is also free version of Toad, which is not full Toad, but it looks also very well - However, I
am not going to use Oracle (wchich is quite expensive commercial tool) on my desktop. The....
All About Databases
Info, for you! (3) QUOTE Hi, I noticed there were a lot of questions in all of the database topics, so i went
around the internet using different sources, and have some information that will answer your
questions and help you understand databases. I hope this helps, and if you have any other questions
which arent answered below, please send a message asking. Thankyou. In computing, a database can be
defined as a structured collection of records or data that is stored in a computer so that a program
can consult it to answer queries. The records retrieved in answer to queries become i....
Examining Databases At A Whole Glance
SQL-92 specification (7) Most of us using databases or doing data minings are not aware of SQL-92 specification seemingly
these days. SQL-92 specifiaction is the SQL database query language standard. Oracle,mysql
postgresql,mssql and DB2 - most widely recognized SQL database programs - are all closely related to
SQL-92 specification for the use of query nevertheless how they implemented SQL-92 specification
features inside in the program. Implementation of SQL-92 specification features are applied in the
order of Oracle, postgresql and mysql. These databases might have specific database query....
Ms Databases
(6) Hello, I can make my own MS Access database, but can anyone tell me how to make a password gate
that checks the user info with the database? Olie122333 /biggrin.gif"
style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
Can You Make Your Own MySQL Databases?
Im an idoit (7) Can you make your own MySQL database or do they have to be bought or found from a free site i really
need help on this guys please reply or send me a PM when you have the time because i need so much
help with this atm /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif"
/> thankyou very much regards Morex Gaming owner Jarvis....
Copy Databases In phpMyAdmin
(5) i have just got hosting here on astahost and i have to copy my databases from my old server... is
there an easy way of doing this? in phpmyadmin? thanx in advance you know lol /wink.gif"
style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> ....
How To Setup SMF Databases?
(4) does anyone know how to set up a database for a SMF forum.....
What Is A Database How Do I Use One?
: Information about Databases and how to get use them efficiently (7) Hello All Let's start off by talking about what a database is and how it would be efficient
in using it. It wasn't until about a year and half ago now that I was first introduced to this
new age of Database. I discovered a lot of neat things and even learned about databases the very
long way. A database is exactly how it sounds its data that has a base. The base being the place
where you store all your data. If you have ever been to a library perhaps you have used the Index to
search for an author, this is a database of authors. Ever seen a rolodex on someo....
Updating A Database's Tables
(11) Is there an "easy" way to update a database's tables? Like for instance, I have my own
custom-coded member login system. Whenever I add a new feature that needs a database, I manually
have to download, update and upload the database. Is there an easy way I can do this? THANKS!!! F....
Combining Databases
Please help before I mess up! (4) I am intergrading this Private Messaging system into my website so that my members can login and
access their PMs through the seprate PM software without loging in twice and registering twice since
if I left it as is, that is what they would have to do... All I really need is 1 single table to be
combined without damaging my few member's accounts (they are all friends, but I don't want
to tell them that I was playing with the database and lost your account information...
/rolleyes.gif' border='0' style='vertical-align:middle' alt='rolleyes.gif' /> ) Since I d....
Unexpected Database Crashes
sometimes my astahost databases are down (0) Sometimes some of my astahost databases are down. After a couple of hours or a couple of day they
are up again. Sometimes all of them are down at the same time, sometimes some of them are up and the
other ones are down. The symptom is that when I connect to the forum I have an error message, saying
"Parse error: parse error, unexpected '\"', expecting ',' or ';' in
/home/../../.../../index.php on line 25" It's not an error in my phpbb because it used to work
correctly. So, what happends ? I suppose that the databases crash if the astahost sere....
Creating Databases
from programs (4) I jsut went throught PC magazine today and i found out that you can actually create a database using
Microsoft Access and Excel. And computers and servers online can actually use these databases and
conduct queries with them. I've always though of databases as MYSQL, Microsoft SQL server and so
on. So it is possible to store data to a Microsoft Access database and manipulate it online?....
Migrating Databases
Migrating from MSSQL Server to MySQL (2) How to migrate my database from SQL Server to MySQL?....
Remote Databases
How to allow remote connections? (4) I am currently in a big-problem. I am trying to use a MySQL database on another host, and I am
hosting my forums, on another host, and I am trying to install the forums but the error that comes,
says that the remote connection canot be allowed. Can anyone help me on how to resolve this issue
and proceed further, or should I just wait for astahost.com to get an account? All suggestions
welcome! /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
Hosting A Server On Database
I'm a total noob at databases (6) Well this might be in the wrong place or I might have no clue what im talking about but I heard
something. Is it possible to host like a .exe server such as a macromedia multiuser server on a
database such as MySQL or any other databases? I have a friend that said he did it but I think he is
lying. Thanks in advance!....
Need Advice On Creating Online Music Database
ps - dont know anything about databases! (6) I need to create a database of around 1000 music albums that I can put on my site, with the ability
to search the database according to several different criteria. Being a complete and total NOOB to
the world of databases, can anyone point me in the direction of some software that will let me
create a good-looking and functional database, but that isn't too complicated for me to use?!
Sounds like a tall order I know, be grateful if anyone can help though. Thanks!
Notice from microscopic^earthling:
Topic edited to reflect content....
The Best Database
databases (41) te best database for my is sql server yukon for you?....
Free Databases
mysql,postgresql,SAPDB,sybase,DB2 (14) this website offers Database hosting for free. Jus signup and u get u r own database .. it supports
mysql, postgresql, sapdb, sybase, db2 CODE http://freesql.org from the webpage QUOTE
This service is, and will remain, totally free. I have receive hundreds of Thank you emails from all
over the world telling me that having this service available has allowed them to practice and learn
without the burden of having to run their own server. ....
Looking for make, large, databases,
|
See Also,
*SIMILAR VIDEOS*
Searching Video's for make, large, databases,
|
advertisement
|
|