Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2010, 02:07 AM
JMEWLS` JMEWLS` is offline
 
Join Date: Dec 2007
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default random database error...

This is the error...

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user '(edited)'@'localhost' (using password: YES) /home/(edited)/public_html/forums/includes/class_core.php on line 313

It happened suddenly, I don't understand the problem. I've edited nothing. No staff have.
Reply With Quote
  #2  
Old 11-20-2010, 02:41 AM
Outbackmark's Avatar
Outbackmark Outbackmark is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's telling you the password/username in the config.php are not working, for that to happen the password/user has one of 3 problems..
The password or username have been changed in the config.php or in the CPanel under mysql databases. (Unlikely in this case as nothing would work)
The permissions for that user are insufficient for the particular operation it was trying to carry out at the time.

It is strange that this has occurred suddenly, although you don't say what you were doing when you got the error.
If it is something that requires an entry deleted and you have not set the user up with the permission to delete items, it will still be able to write and fetch posts etc but not delete anything and this is the type of error you will get on the occasions when a deletion is called for.

These are the selections you can make when giving a user permissions in the DB.....
SELECT CREATE INSERT ALTER UPDATE DROP DELETE LOCK TABLES
INDEX REFERENCES CREATE TEMPORARY TABLES CREATE ROUTINE
EXECUTE
If you have left one that's needed occasionally unchecked when setting the user up, such as DELETE, you will get this error when the software is trying to delete a post or attachment.

There is no way to check which permissions have or have not been applied, the easiest fix is to check the username in your config.php file, close the board, remove the user and then put it back again with all the required permissions, then reopen the board.

--------------- Added [DATE]1290228408[/DATE] at [TIME]1290228408[/TIME] ---------------

I just tried to open your site and it is not accessing the DB at all, check your config.php and the user in the Cpanel/Mysql Databases.
Make sure the dbanme is correct in the conig.php as well.
Reply With Quote
  #3  
Old 11-20-2010, 03:29 AM
JMEWLS` JMEWLS` is offline
 
Join Date: Dec 2007
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The dbname and everything is correct, as I said it hasn't been altered at all as I'm the only one with access to the root files and MySQL etc.
Reply With Quote
  #4  
Old 11-20-2010, 03:30 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you on a shared server?
Reply With Quote
  #5  
Old 11-20-2010, 03:42 AM
JMEWLS` JMEWLS` is offline
 
Join Date: Dec 2007
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VPS shared hosting.
Reply With Quote
  #6  
Old 11-20-2010, 03:45 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you checked that MySQL itself is running properly?
Reply With Quote
  #7  
Old 11-20-2010, 03:54 AM
JMEWLS` JMEWLS` is offline
 
Join Date: Dec 2007
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to be running fine.
Reply With Quote
  #8  
Old 11-20-2010, 03:59 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Verify there are no extra spaces in the username, database or password field. Also double check that the info is correct.
Reply With Quote
  #9  
Old 11-20-2010, 04:17 AM
JMEWLS` JMEWLS` is offline
 
Join Date: Dec 2007
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quintuple checked, even re-download/entered the values in the config file. I'm blank.
Reply With Quote
  #10  
Old 11-20-2010, 04:23 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Means that there is to many connections to the database. Talk to your host about the connections.
Reply With Quote
Reply


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 07:12 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.04849 seconds
  • Memory Usage 2,239KB
  • Queries Executed 11 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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