Welcome to WebmasterWorld Guest from 54.146.246.4

Forum Moderators: phranque

Message Too Old, No Replies

Help with a simple mysql query

     

jimjimjim

4:15 pm on Nov 8, 2004 (gmt 0)

10+ Year Member



I'm new to mysql and I wondered if I could run 2 php based systems using the one mysql database.

My host has only given me one mysql db, I cannot create another..

I'm running php auction gpl and I want to run php nuke for the homepage, both require a db!

Can I do this? will it screw my first db? are there any ways around it without taking out another hosting plan.

Help!

bcolflesh

4:19 pm on Nov 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As long as the table names aren't the same, you can use the same DB.

<edit>
And Welcome to WW!
</edit>

jam13

4:23 pm on Nov 8, 2004 (gmt 0)

10+ Year Member



Many LAMP applications have a "table prefix" setting in their configuration to ensure that they don't collide with other applications using the same database.

I would be surprised if Postnuke didn't have these feature.

jimjimjim

4:25 pm on Nov 8, 2004 (gmt 0)

10+ Year Member



Thanks BCO!

I will check that and see how it goes...