Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
LinkBack Thread Tools Display Modes
Old 09-07-2006, 08:42 PM   #1 (permalink)
Minors (Double A)
 
Join Date: Nov 2002
Location: Northern Virginia
Posts: 164
Thanks: 0
Thanked 0x in 0 posts
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)
Officespace99 is offline  
Old 09-08-2006, 11:01 AM   #2 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
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.
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 09-14-2006, 08:42 PM   #3 (permalink)
Minors (Double A)
 
Join Date: Nov 2002
Location: Northern Virginia
Posts: 164
Thanks: 0
Thanked 0x in 0 posts
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)
Officespace99 is offline  
Old 09-18-2006, 12:23 PM   #4 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
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.
__________________
Dave
HFTC Commish
DaveHorn is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:26 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments