eXceem

Go Back   eXceem > Off Topic > Technical Help

Claim your amazing £1,000 slots booster bonus now!


Multiple databases

This is a discussion on Multiple databases within the Technical Help forums, part of the Off Topic category; Does anyone know or have any instructions on how to create a database inside a database? sort of like a ...

Reply
 
Thread Tools
Old 16-06-09, 07:02 PM   #1
Mini Mac
 
beezer123's Avatar
 
Join Date: Dec 2006
Location: Aberdeenshire
Posts: 4,038
beezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud of
Send a message via MSN to beezer123

Multiple databases


Does anyone know or have any instructions on how to create a database inside a database?

sort of like a sub-database. Not sure on what it would be called.

I know I have done it before but I can't remember how.

Any help will be much appreciated
__________________
My Sites

Free Nintendo DSi
Free Macbook Pro
Free Galaxy Nexus
Free iPhone 4S
Free iPad 2


open spoiler to see what im doing
Spoiler
 
Reply With Quote
Old 16-06-09, 08:49 PM   #2
iPod 20gb
 
mattyb's Avatar
 
Join Date: May 2009
Location: Sussex
Posts: 505
mattyb has a spectacular aura about
Do you mean multiple tables within one database or a relational database?
I'm not sure you can create databases within databases but I might be wrong there.
 
Reply With Quote
Old 16-06-09, 08:50 PM   #3
Mini Mac
 
beezer123's Avatar
 
Join Date: Dec 2006
Location: Aberdeenshire
Posts: 4,038
beezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud of
Send a message via MSN to beezer123
To be honest I'm not sure.

I did one before for a couple of my blogs using just one main database but I can't remember how.
__________________
My Sites

Free Nintendo DSi
Free Macbook Pro
Free Galaxy Nexus
Free iPhone 4S
Free iPad 2


open spoiler to see what im doing
Spoiler
 
Reply With Quote
Old 16-06-09, 10:15 PM   #4
iPod 20gb
 
robertjb's Avatar
 
Join Date: Jan 2009
Posts: 455
robertjb has a spectacular aura about
Anytime I created a database I always used Microsoft Access. We had to create them for our A-Level IT Coursework. If I can find it for you I'd be willing to send you it as an example.

This is one of the better tutorial sites I've used in the past: Microsoft Access Tutorials

Hope that's of some use!
 
Reply With Quote
Old 16-06-09, 10:20 PM   #5
Mini Mac
 
beezer123's Avatar
 
Join Date: Dec 2006
Location: Aberdeenshire
Posts: 4,038
beezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud of
Send a message via MSN to beezer123
What I'm really needing to do is this


I have a database already set up which has wordpress installed on it.

Can i create a seperate partition on that database to upload the database used in this.

ip2nation - resolve IP to country

It's just a database that would hold the IP information for different countries and I would access it by making a query in the PHP.

Is this possible at all?
I'm not really that great with databasing stuff to be honest
__________________
My Sites

Free Nintendo DSi
Free Macbook Pro
Free Galaxy Nexus
Free iPhone 4S
Free iPad 2


open spoiler to see what im doing
Spoiler
 
Reply With Quote
Old 16-06-09, 10:23 PM   #6
iPod 20gb
 
robertjb's Avatar
 
Join Date: Jan 2009
Posts: 455
robertjb has a spectacular aura about
Found this, not sure if it's what you mean but: MySQL :: Improving Database Performance with Partitioning

SQL Server 2Kx: How to move a database to a different partition in the local file system? - Server Fault
 
Reply With Quote
Old 16-06-09, 10:35 PM   #7
Site Owner: KUDOS network
 
kudos's Avatar
 
Join Date: May 2007
Location: Suffolk. UK
Posts: 2,680
kudos is a glorious beacon of lightkudos is a glorious beacon of lightkudos is a glorious beacon of light
Send a message via twitter to kudos
Quote:
Originally Posted by beezer123 View Post
What I'm really needing to do is this


I have a database already set up which has wordpress installed on it.

Can i create a seperate partition on that database to upload the database used in this.

ip2nation - resolve IP to country

It's just a database that would hold the IP information for different countries and I would access it by making a query in the PHP.

Is this possible at all?
I'm not really that great with databasing stuff to be honest
I use that IP db on all the kudos sites for geo-targetting.

Just upload the .sql file into your existing db and it will create 2 new tables within that db. You can then reference those tables using php. Dead easy. If you need help PM me.
__________________

::KUDOS network::

:: Check out the new KUDOS design ::

<< eXceem Network Staff Member of the Year 2010 >>

<< eXceem New and Unproven Network of the Year 2008 >>

consoles - apple - ps3 - gadgets - hdtv - gifts - points - mobiles

Follow us on Twitter
Owned & Operated By Kudos Media Limited
 
Reply With Quote
Old 17-06-09, 10:29 AM   #8
is meant to be revising
 
Amiethest's Avatar
 
Join Date: Dec 2008
Location: Nottinghamshire
Posts: 6,451
Amiethest is a name known to allAmiethest is a name known to allAmiethest is a name known to allAmiethest is a name known to all
Hmmm, I might be Pm'ing too, if you don't mind?
__________________
Well since as my SERPS are now dead, I won't belearning how to get an iPad for nothing anymore| My Free Xbox 360 sitehas tanked
|And the only one that was an experiment and doesn't make money is Free 3DS darn it.

Want to know how to get greens (referrals) for FreebieJeebies? I'll tell you how..... Work hard, like the rest of us! Feel free to ask questions!
 
Reply With Quote
Old 17-06-09, 10:35 AM   #9
Site Owner: KUDOS network
 
kudos's Avatar
 
Join Date: May 2007
Location: Suffolk. UK
Posts: 2,680
kudos is a glorious beacon of lightkudos is a glorious beacon of lightkudos is a glorious beacon of light
Send a message via twitter to kudos
Quote:
Originally Posted by Amiethest View Post
Hmmm, I might be Pm'ing too, if you don't mind?
Feel free
__________________

::KUDOS network::

:: Check out the new KUDOS design ::

<< eXceem Network Staff Member of the Year 2010 >>

<< eXceem New and Unproven Network of the Year 2008 >>

consoles - apple - ps3 - gadgets - hdtv - gifts - points - mobiles

Follow us on Twitter
Owned & Operated By Kudos Media Limited
 
Reply With Quote
Old 17-06-09, 11:00 AM   #10
iPod 20gb
 
mattyb's Avatar
 
Join Date: May 2009
Location: Sussex
Posts: 505
mattyb has a spectacular aura about
Are you going to use this as a kind of "If country not in list show this"? I might do something similar and edit the file so that of the users IP address isn't in the table I'll display a "Sorry, at the moment these offers aren't available in your country" message.

Kudos is right, just run the sql file in your phpmyadmin area and two tables will be created which can then be queried in exactly the same way as you're doing for existing tables.
 
Reply With Quote
Old 17-06-09, 11:08 AM   #11
Mini Mac
 
beezer123's Avatar
 
Join Date: Dec 2006
Location: Aberdeenshire
Posts: 4,038
beezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud of
Send a message via MSN to beezer123
I want it to run sort of the same as the one I have already on my site, but more accurate than just detecting the users language on their browser
__________________
My Sites

Free Nintendo DSi
Free Macbook Pro
Free Galaxy Nexus
Free iPhone 4S
Free iPad 2


open spoiler to see what im doing
Spoiler
 
Reply With Quote
Old 17-06-09, 11:17 AM   #12
Site Owner: KUDOS network
 
kudos's Avatar
 
Join Date: May 2007
Location: Suffolk. UK
Posts: 2,680
kudos is a glorious beacon of lightkudos is a glorious beacon of lightkudos is a glorious beacon of light
Send a message via twitter to kudos
Quote:
Originally Posted by mattyb View Post
Are you going to use this as a kind of "If country not in list show this"? I might do something similar and edit the file so that of the users IP address isn't in the table I'll display a "Sorry, at the moment these offers aren't available in your country" message.

Be careful with restricting visitors based on their IP. It isnt 100% accurate.

What I do with kudos is default to UK, if the user is showing up as anything other than UK, US or CA.
__________________

::KUDOS network::

:: Check out the new KUDOS design ::

<< eXceem Network Staff Member of the Year 2010 >>

<< eXceem New and Unproven Network of the Year 2008 >>

consoles - apple - ps3 - gadgets - hdtv - gifts - points - mobiles

Follow us on Twitter
Owned & Operated By Kudos Media Limited
 
Reply With Quote
Old 17-06-09, 11:24 AM   #13
Mini Mac
 
beezer123's Avatar
 
Join Date: Dec 2006
Location: Aberdeenshire
Posts: 4,038
beezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud ofbeezer123 has much to be proud of
Send a message via MSN to beezer123
I'm just going to have mine as a checker that they can open if they wish to check and see if they can get stuff for free or not.

They will click a link called country checker that will open a new window and will run the script to check their ip.
Depending on whether they can or not they will either see a success screen which will allow them to click and visit the freebie site or they will see a sorry you cannot blah blah image.
__________________
My Sites

Free Nintendo DSi
Free Macbook Pro
Free Galaxy Nexus
Free iPhone 4S
Free iPad 2


open spoiler to see what im doing
Spoiler
 
Reply With Quote
Old 17-06-09, 11:31 AM   #14
Site Owner: KUDOS network
 
kudos's Avatar
 
Join Date: May 2007
Location: Suffolk. UK
Posts: 2,680
kudos is a glorious beacon of lightkudos is a glorious beacon of lightkudos is a glorious beacon of light
Send a message via twitter to kudos
Quote:
Originally Posted by beezer123 View Post
I'm just going to have mine as a checker that they can open if they wish to check and see if they can get stuff for free or not.

They will click a link called country checker that will open a new window and will run the script to check their ip.
Depending on whether they can or not they will either see a success screen which will allow them to click and visit the freebie site or they will see a sorry you cannot blah blah image.
Like I said though, be careful. You don't to lose potential referrals for yourself.
__________________

::KUDOS network::

:: Check out the new KUDOS design ::

<< eXceem Network Staff Member of the Year 2010 >>

<< eXceem New and Unproven Network of the Year 2008 >>

consoles - apple - ps3 - gadgets - hdtv - gifts - points - mobiles

Follow us on Twitter
Owned & Operated By Kudos Media Limited
 
Reply With Quote
Old 17-06-09, 12:09 PM   #15
iPod 20gb
 
mattyb's Avatar
 
Join Date: May 2009
Location: Sussex
Posts: 505
mattyb has a spectacular aura about
Quote:
Originally Posted by kudos View Post
Be careful with restricting visitors based on their IP. It isnt 100% accurate.

What I do with kudos is default to UK, if the user is showing up as anything other than UK, US or CA.
Ah ok, thanks for the heads up. I'll probably do something similar then.
 
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off





All times are GMT. The time now is 08:51 PM.
All trademarks and copyrights held by respective owners. Forum posts are owned by the poster.

Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO
no new posts