Welcome to WebmasterWorld Guest from 54.159.113.43

Forum Moderators: mack

Message Too Old, No Replies

Kusaba X

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

New User

5+ Year Member

joined:Sept 8, 2010
posts: 2
votes: 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 Sept 10, 2010 (gmt 0)

Senior Member from GB 

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

joined:Jan 30, 2002
posts:4843
votes: 2


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 Sept 10, 2010 (gmt 0)

New User

5+ Year Member

joined:Sept 8, 2010
posts: 2
votes: 0


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

Senior Member from GB 

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

joined:Jan 30, 2002
posts:4843
votes: 2


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