|
||||
| ||||
|
|
#1 |
|
Minors (Double A)
Join Date: Nov 2002
Location: Northern Virginia
Posts: 164
|
BOSI - Error: Can't connect to local MySQL server through socket
hey everyone....kinda hoping someone might be able to help me out over here. Im trying to get bosi going, I have gotten past all the errors except when I try to access the admin page (ie..actually hitting the MySQL db) I get the below.
Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) trying to read user/pass dbuser = bosi2 any ideas???
__________________
Current Leagues: (All years in "game" years) NOBL - Boston Red Sox (2002-present) NOBL - Commish (2006 - present) TTWB - Farmingdale Frunkus (2011 - present) My OOTP graveyard: LLM - Yucatan Leones (2012 - folded) CPL - Detroit Tigers (2011 - folded) FHBL -Cincinnati Reds (2006 - folded) Maverick Baseball - Boston Red Sox (2005 - folded) BPLA - Portland (2004: folded) |
|
|
|
|
#2 |
|
All Star Starter
Join Date: Aug 2003
Posts: 1,146
|
That could mean a number of things.
First double check these settings in your contants.inc file. $DBHOST = 'yourhosthere'; //almost always "localhost" $DBNAME = 'yourdatabasenamehere'; $DBUSER = 'yourdbusernamehere'; $DBPASSWORD = 'yourdbpasswordhere'; It could also mean that your MySQL is not set up properly on your server. I'm assuming this is a hosting company and not a self install so that shouldn't be your issue. And if you successfully installed the database, probably through PHPMyAdmin, then that also indicates there is nothing wrong with your MySQL install. |
|
|
|
|
#3 |
|
Minors (Double A)
Join Date: Nov 2002
Location: Northern Virginia
Posts: 164
|
unfortunately I do not think its that
<?php $DBHOST = 'localhost'; //database host $DBNAME = 'bosi2'; //database name $DBUSER = 'bosi2'; //database user name $DBPASSWORD = '*******'; //database password (removed for obvious reasons) $BASEPATH = '/home/content/J/o/n/JonPapp/html/bosi/'; // include path to base bosi directory ?> (yes I gave the db userid the same name as the db itself) so I am kinda stuck here.....I verified the path, password, userid, and dbname variables. Any other thoughts?
__________________
Current Leagues: (All years in "game" years) NOBL - Boston Red Sox (2002-present) NOBL - Commish (2006 - present) TTWB - Farmingdale Frunkus (2011 - present) My OOTP graveyard: LLM - Yucatan Leones (2012 - folded) CPL - Detroit Tigers (2011 - folded) FHBL -Cincinnati Reds (2006 - folded) Maverick Baseball - Boston Red Sox (2005 - folded) BPLA - Portland (2004: folded) |
|
|
|
|
#4 |
|
All Star Starter
Join Date: Aug 2003
Posts: 1,146
|
Are you on a shared server? Chances are good that your actual DBName is not bosi2. Nearly all hosting companies prefix your database names if you are on a shared server to avoid collisions with other users on your same server.
|
|
|
| Bookmarks |
|
|