vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   database warning.... (https://vborg.vbsupport.ru/showthread.php?t=68691)

wreck 08-25-2004 09:48 AM

database warning....
 
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/rapdome/public_html/frontlinez/forum/admin/db_mysql.php on line 40


^^^thats the message im getting www.front-linez.com/forum then you can see the message.

$this->link_id=mysql_connect($this->server,$this->user,$this->password);

^^thats the coding that is on line 40... any idea of what i need to do?

Colin F 08-25-2004 09:56 AM

Did you change anything in your vB installation shortly before this occured?

Can you access you MySQL Server by other means (phpmyadmin,...)?

Are all the values in your includes/config.php set and correct?

wreck 08-25-2004 09:59 AM

well i went to bed last night, everything was workin fine, i just got out of bed now, and now its like this, so wether someone else has done anything or not i have no idea

wreck 08-25-2004 10:06 AM

nevermind... its working now

wreck 08-25-2004 01:56 PM

its doing it again now

i think its the host because there nothing wrong in any of the files

Colin F 08-25-2004 01:58 PM

See if you can access the mysql database through another means (phpmyadmin for example)

If not, the database server has a problem, so only your host can help you...


All times are GMT. The time now is 08:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00932 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete