Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 01-22-2006, 03:54 PM
Ctx-I Ctx-I is offline
 
Join Date: Jan 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default new insallation, can't connect to mysql.sock error

ok, this is frustrating as hell.... i've read thru the installation instructions thoroughly, and felt I was ready to install Vbulletin on my site…..but every time I get to step 3, I get:
“Error description: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'”
First I thought I had an error in the config.php file, like the vbulletin installer suggests, so I double & triple checked that. Everything is exactly as my “webhost” suggests…. Second I thought it was mysql server, and logon on to my SQL admin, and it says the server has been running since Dec, 10 2005. so I don’t know what else to do… other then sit on my butt and wait for business hours for my webhost…..

oh, the server is using mysql-4.0.22-r2 and is running Gentoo Linux
Reply With Quote
  #2  
Old 01-22-2006, 04:26 PM
Guest210212002
Guest
 
Posts: n/a
Default

Do you have shell access to your server?

First thing to try:

Look in /etc/my.cnf, and see if there is a section called [client]. If not, try adding this:

[client]
socket=/var/run/mysqld/mysql.sock

If that doesn't work:

How is the SQL server defined in your config.php? If you're using the IP address of your box, try setting it to simply 'localhost'.
Reply With Quote
  #3  
Old 01-22-2006, 04:48 PM
Ctx-I Ctx-I is offline
 
Join Date: Jan 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the server is defined as
$config['MasterServer']['http://mysql.example.com']
$config['MasterServer']['3306']

and the initial setting i tried was localhost...

apparently i don't have shell access... i'm using this: http://www.phpmyadmin.net/ as supplies to me by my webhost...
Reply With Quote
  #4  
Old 01-22-2006, 05:03 PM
Guest210212002
Guest
 
Posts: n/a
Default

Do yourself a favor and edit out your server info from that post.

The server and port info in config.php looks correct, it just seems that that client call is undefined in your server's MySQL setup.

Actually, drop the http:// from the MasterServer line, that could indeed be the root of all evil, since http on that box is listening on port 80, and you're trying to connect via httpd on port 3306.
Reply With Quote
  #5  
Old 01-22-2006, 05:09 PM
Ctx-I Ctx-I is offline
 
Join Date: Jan 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still no go......
Reply With Quote
  #6  
Old 01-22-2006, 05:23 PM
Guest210212002
Guest
 
Posts: n/a
Default

I'm out of ideas. Your host doesn't have any weekend support? That's rather sour.

Shot in the dark, perhaps try changing this line:

Code:
$config['Database']['dbtype'] = 'mysql';
to 'mysqli'
Reply With Quote
  #7  
Old 01-22-2006, 05:41 PM
Ctx-I Ctx-I is offline
 
Join Date: Jan 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, thanx for helpin me out..... i really appreciate it
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 06:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07794 seconds
  • Memory Usage 2,204KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (4)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete