Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2007, 09:02 PM
Virtualshiner Virtualshiner is offline
 
Join Date: Jun 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error

My site has a database error and I don't know why.
Can anyone help me on what to do?
My site is: http://www.disneymagiconline.com
Thanks so much
VS
Reply With Quote
  #2  
Old 12-09-2007, 09:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Usually the mysql errors are sent to your email. Are you getting them? You should post what the error is from that email so we can help you.
Reply With Quote
  #3  
Old 12-10-2007, 05:42 AM
Virtualshiner Virtualshiner is offline
 
Join Date: Jun 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok well this is the error:

Code:
Database error in vBulletin :

Cannot use database disneyma_site

MySQL Error  : Access denied for user 'disneyma_disneym'@'localhost' to database 'disneyma_site'
Error Number : 1044
Date         : Sunday, December 9th 2007 @ 11:14:52 PM
Script       : http://www.disneymagiconline.com/
Referrer     : 
IP Address   : 81.132.182.99
Username     : 
Classname    : vb_database
Reply With Quote
  #4  
Old 12-10-2007, 05:49 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MySQL Error : Access denied for user 'disneyma_disneym'@'localhost' to database 'disneyma_site'

Check your config.php to see if the MySQL user and password are correct.
Reply With Quote
  #5  
Old 12-10-2007, 03:06 PM
Virtualshiner Virtualshiner is offline
 
Join Date: Jun 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well when I went into the forum root, there was no config.php file
I went into the cpanel as well, and it says there are no databases associated with your account.
Is that why?
Reply With Quote
  #6  
Old 12-10-2007, 03:46 PM
maddy1 maddy1 is offline
 
Join Date: Oct 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

config.php located in include folder.

use any FTP client and go in include / config.php and check your database user name and password and be sure details are correct.
Reply With Quote
  #7  
Old 12-10-2007, 05:22 PM
Virtualshiner Virtualshiner is offline
 
Join Date: Jun 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks but there is no database in the cpanel for me to associate it with.
Im gonna have to start over I think
Reply With Quote
  #8  
Old 12-10-2007, 05:46 PM
maddy1 maddy1 is offline
 
Join Date: Oct 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

than make a new data base if you dont have and than edit the config.php
Reply With Quote
  #9  
Old 12-10-2007, 06:24 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Virtualshiner View Post
Thanks but there is no database in the cpanel for me to associate it with.
Im gonna have to start over I think
Did you even have the site working before this happened?

Well your db just wouldnt vanish, do you have root access to the server?

Have you contacted your host and asked for a backup, i assume the server has nightly backups, they should be able to provide you with a backup db from last night at least.
Reply With Quote
  #10  
Old 12-12-2007, 05:34 PM
Virtualshiner Virtualshiner is offline
 
Join Date: Jun 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fired one of my staff members and he had cpanel access so he deleted it.
I have found a copy of the database I had so I just want to restore it now.
I have changed the details but still get this error:

Code:
Database error in vBulletin :

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

MySQL Error  : 
Error Number : 
Date         : Wednesday, December 12th 2007 @ 11:29:54 AM
Script       : http://www.disneymagiconline.com/
Referrer     : 
IP Address   : 81.132.182.99
Username     : 
Classname    : vb_database
Line 274 of class_core.php is this: $link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password);
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 02:50 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.04630 seconds
  • Memory Usage 2,248KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete