vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   can't connect to local mysql (https://vborg.vbsupport.ru/showthread.php?t=69514)

wreck 09-16-2004 11:08 AM

can't connect to local mysql
 
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 error im getting when im tryna log onto my forum. Earlier i had a different error message but our host said there was a problem and they have fixed it and everything worked, but ive just come back on and i get that, and when i go onto the cpanel and click mySQL..... I can't see any databases at all :-s so im totally baffled

wreck 09-16-2004 11:13 AM

1 Attachment(s)
heres an image of the mysql on my cpanel so you see what i see

Colin F 09-16-2004 11:24 AM

well your mysql database plainly isn't around, so of course nothing can connect to it :)

Talk with your host, he probably changed something, or should at least have a backup.

wreck 09-16-2004 11:28 AM

yeah i sent an email before posting this, im just waiting on a reply.

But, for some weird reason it has worked for me just now, and loaded the main forum page. But the instant i went to read my PM's, it does the same thing again :-\

nexialys 09-16-2004 11:52 AM

in your includes/config.php file, see for this:

$usepconnect = 0;

if it's set to 0, try with 1 ... if it's 1, set it to 0 .... this may be the cause... some mysql installations are alergic to pconnect...

wreck 09-16-2004 12:06 PM

well its working now, except when trying to post i get this error message which i emailed my host about


Database error in vBulletin 2.2.6:

Invalid SQL: REPLACE INTO searchindex (wordid,postid,intitle) VALUES (1476,27755,0),(220,27755,0),(677,27755,0),(39970, 27755,0),(248,27755,0)
mysql error: Can't open file: 'searchindex.MYI'. (errno: 145)

mysql error number: 1016

Date: Thursday 16th of September 2004 08:56:16 AM
Script: http://www.rapdome.com/front-linez/forum/newreply.php
Referer: http://www.front-linez.com/forum/sho...&threadid=2486

nexialys 09-16-2004 12:21 PM

hum... your database is corrupted... your MYI (one of the database file related to your structure) is missing, so there system can't archive the db... ask your host to reinstall the last backup ... or you will have to reinstall your site over...

wreck 09-16-2004 12:23 PM

now i dont get that message :-s when i hit submit reply it just freezes and doesnt load anything

so i dont know if they are fixing it or what, i dont know.

wreck 09-16-2004 12:31 PM

Ok this just takes the total utter pi$$ im now back to square one with the very very first error i got before all this started

http://www.front-linez.com/forum/index.php?s=


All times are GMT. The time now is 05:00 PM.

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.01084 seconds
  • Memory Usage 1,725KB
  • 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
  • (9)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