[olug] PHPNuke add database MySQL

Eric Penne epenne at yahoo.com
Fri Jan 24 15:47:07 UTC 2003


I got my site running correctly at http://www.thepennes.net but now I
want to run another site off of the same PC.  I also want this site to
run PHPNuke.  Like a total MySQL newbie, I figured I could just copy
the directory from one site to the other (each site has a directory). 
What I didn't think about was that it still queries the same DB so they
are always identical.  DUH!

I know it calls the config.php file in the root directory of the
website.  This file calls the main config.php file under /etc/phpnuke. 
Therefore I just need to modify the first config.php file to point to a
different config.php in the /etc/phpnuke.  Voila!  now I have
config.php and zoucha_config.php in the /etc/phpnuke directory.  Now I
need to modify zoucha_config.php to point to a different DB.  Now how
do I create that DB?  Is there a script for PHPNuke that will auto
setup the database?

Thanks
Eric

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the OLUG mailing list