Welcome to WebmasterWorld Guest from 54.162.240.235

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Kusaba X

     
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.
6:33 am on Sep 10, 2010 (gmt 0)

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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.
2:49 pm on Sep 10, 2010 (gmt 0)



Thanks for the reply.
How can I test the connection to my database...
8:06 pm on Sep 10, 2010 (gmt 0)

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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';
?>
 

Featured Threads

Hot Threads This Week

Hot Threads This Month