From: Chad O. <CO...@ex...> - 2001-04-03 22:45:06
|
Hello, I am running apache_1.3.19, php-4.0.4pl1, and MySQL 3-23.34 on RH6.2 This machine is going to be dedicated for phphelpdesk on a internal network. everything works fine accept PHPhelpdesk. I think the problem is with phphelpdesk.mysql, perhaps someone can point me in the right direction. [root@linux helpdesk]# pwd /usr/local/apache/htdocs/helpdesk [root@linux helpdesk]# ls COPYING INSTALL checkuser.inc.php connect.inc.php images logout.inc.php phphelpdesk.mysql scripts CVS README config cookie.inc.php index.php permissions.inc.php rfile.inc.php [root@linux helpdesk]# mysql -u root -p < phphelpdesk.mysql bash: mysql: command not found [root@linux helpdesk]# ./mysql -u root -p < phphelpdesk.mysql bash: ./mysql: No such file or directory 1.) Should I put phphelpdesk.mysql somewhere else? here is what db.conf.php and general.conf.php look like: <?php //database config $db_server = "192.168.68.230"; //database server location $db_type = "mysql"; //mysql, pgsql, oracle, etc.. $db_db = "phphelpdesk.mysql"; //database to use $db_username = "admin"; //username for $db_db $db_password = "admin"; //password for $db_db <?php //general configuration $version = ".04.4"; //Version Number $g_title = "PHPHelpdesk"; //Title of your helpdesk $g_helpdesk_email = "em...@ad..."; //Email of your helpdesk $g_mailservername = "mail.yourcompanys.smtpserver.com"; //SMTP Mail server $g_cookietimeout = "1200"; //Timeout for cookies $g_refreshtime = "600"; //Refresh time for viewall // If you are using http://someaddress.co/phphelpdesk, then you must set the // base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at the end // you must put that in there. If you are using a virtual host such as // http://phphelpdesk.somecompany.com, then you can just leave it empty with // the quotes touching ""; $g_base_url = "http://192.168.68.230/helpdesk"; //base url location Thanks in advance. Best Regards, Chad Oblak |