[SPTUsers] "SPT--Config.php" configuration problem
Johnny Kow
ckow at bcm.tmc.edu
Tue Oct 21 20:32:52 CDT 2003
[Johnny Message 2]
[1] Finally, I follow
[http://scout.wisc.edu/pipermail/sptusers/2003-March/000047.html]
[2] Do some research on the internet and typed "mysql -u root -h
'xxx.xxx.xxx.xxx' mysql"
[3] "SPT--Config.php" file under "include" directory:
<?php
# parameters for accessing SQL database server
$DBUserName = "root";
$DBPassword = "";
$DBHost = "xxx.xxx.xxx.xxx";
$DBName = "c:/spt/SPT--SampleData.sql";
?>
[4] In Apache, changed to: DocumentRoot "C:/spt"
[5] In the browser, I go to [http://xxx.xxx.xxx.xxx/spt--home.php]
-------------------------------------------------------
[What I see in the browser is]:
Incorrect database name 'c:/spt/spt--sampledata.sql'
-------------------------------------------------------
[QUESTION]
- What's wrong? Why it said: Incorrect database name
'c:/spt/spt--sampledata.sql' ?
Thank you,
Johnny
October 21, 2003
More information about the SPTUsers
mailing list