homepage Welcome to WebmasterWorld Guest from 50.17.177.99
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Kusaba X
az123ss




msg:4198478
 12:38 pm on Sep 8, 2010 (gmt 0)

Hi
I'm trying to install Kusaba X but i have a problem. I also installed Xampp becouse i wanna see how it will look like before upload Kusaba in my site. The problem is in Database. I can't find it. I install Kusaba in htdocs then i change KU_WEBFOLDER, KU_WEBPATH, and KU_DOMAIN to localhost. But the problem is KU_DBDATABASE and KU_ROOTDIR. I just don't know want to do with them. Please help. I'm sorry for the poor English.

 

brotherhood of LAN




msg:4199858
 6:33 am on Sep 10, 2010 (gmt 0)

Welcome to the forums az123ss,

Did you manage to solve your problem?

I would suggest testing your connection to your database in a separate simple test script to ensure that you can get a working connection to it, aside from any scripts that rely on the DB.

az123ss




msg:4200015
 2:49 pm on Sep 10, 2010 (gmt 0)

Thanks for the reply.
How can I test the connection to my database...

brotherhood of LAN




msg:4200250
 8:06 pm on Sep 10, 2010 (gmt 0)

Assuming it is MySQL...

<?php
// save as test.php
mysql_connect('database_host','database_username',database_password') or die('Problem with MySQL connect: '.mysql_error());

mysql_select_db('database_name') or die('Problem connecting to database: '.mysql_error());

echo 'Database connection successful';
?>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved