|
||||
|
|
OOTP Mods - Database Tools Do you need to take a dump? SQL gurus welcome |
|
Thread Tools |
03-07-2015, 03:29 PM | #1 |
Minors (Triple A)
Join Date: Jun 2003
Posts: 226
|
StatsLab Question?
Looking for a little help.. I just setup StatsLab and followed instructions very carefully I thought but running into a bit of an issue. When I run the validator I get the following error:
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host '‘localhost' (25) in /home/paramoun/sqldump/dbopen.php on line 2 Could not connect: Unknown MySQL server host '‘localhost' (25) I am assuming this error is related to the dbopen.php file and not the config.text. I have the dbopen file located in my sqldump folder just outside the public_html folder on my server. The setup of my file looks like this: <?php $db = mysql_connect(‘localhost,’paramoun_stats,’******** *’) or die('Could not connect: '.mysql_error()); mysql_select_db('paramoun_StatsLab'); ?> Now, I followed the wiki instruction page and for reference I used Fidel's video as well. I tried changing localhost to paramountbaseball.net as well and that did not work. Am I missing something simple or am I way off here???
__________________
Commissioner: Paramount Baseball League (running7-years real time) American Baseball Legion (a new OOTP18 Startup) |
03-08-2015, 10:44 PM | #2 |
Minors (Triple A)
Join Date: Jun 2003
Posts: 226
|
Getting closer I think. The error I see now is:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/paramoun/sqldump/dbopen.php on line 2
__________________
Commissioner: Paramount Baseball League (running7-years real time) American Baseball Legion (a new OOTP18 Startup) |
Bookmarks |
|
|