|
||||
|
|
OOTP Mods - Database Tools Do you need to take a dump? SQL gurus welcome |
![]() |
|
Thread Tools |
![]() |
#1 |
Minors (Triple A)
Join Date: Jun 2003
Posts: 226
|
StatsLab13 install question
I'm stuck here, and not sure what exactly to fill in, any help would be appreciated.
8. Edit dbopen.php with your MySQL connection information (host, user, password, and database name) When I hit edit, i get the following: <?php $db = mysql_connect('paramoun_statslab13.paramountbaseba ll.net','paramoun_statsla','mypasswordhere') or die('Could not connect: '.mysql_error()); mysql_select_db('sqldb'); ?> I'm not sure if this part is correct AT ALL. 9. In the StatsLab subfolder, copy cong.txt.sample and rename as config.txt obviously not a problem here... 10. Edit config.txt with the full server path to your StatsLab install directory. If you’re not sure of the full path, ask your host. This is what I see: ADMINPATH|/home/<account>/sql/<league_name> I need to know what to put here.. 11. From your local machine, upload dbopen.php to your SQL upload folder created in step 3. 12. From your local machine, upload your StatsLab subfolder to the StatsLab folder created in step 4 In regards to 11 & 12, I just have 2 questions: 1) Where do I put the these. Should the SQL folder be in the public_html_cgi-bin, a folder created SQL? 2) shoal the StatsLab folder be in the public_html folder? Once I get past these few parts, I can cruise right to the end I think.. Thanks in advance!
__________________
Commissioner: Paramount Baseball League (running7-years real time) American Baseball Legion (a new OOTP18 Startup) |
![]() |
![]() |
![]() |
#2 | |||
Hall Of Famer
Join Date: Nov 2002
Posts: 3,638
|
Quote:
HOST: This should be the server your MySQL database is hosted on. It is NOT your website domain name. If your website is hosted on the same server that you installed StatsLab on, try just entering "localhost", or the server name you use to connect to when you FTP files to your server. SQLUSER: This is something you configure when you create your MySQL database. SQLPASSWORD: This is something you configure when you create your MySQL database. SQLDB: This is something you configure when you create your MySQL database. Quote:
Quote:
Yes, the StatsLab folder needs to be somewhere inside public_html. Otherwise, people can't access it from the web.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|||
![]() |
![]() |
![]() |
Bookmarks |
|
|